aboutsummaryrefslogtreecommitdiffstats
path: root/test/test_postprocessor.py
diff options
context:
space:
mode:
authorLibravatarUnit 193 <unit193@unit193.net>2022-11-22 04:28:43 -0500
committerLibravatarUnit 193 <unit193@unit193.net>2022-11-22 04:28:43 -0500
commit2c529817db948dea14069ea9f5ccfae5598fff47 (patch)
treeec67f818b3f6f329fdaa37cf8cf8a89d90022747 /test/test_postprocessor.py
parent5ed6cfd4bbc85cc8c4bece8e0ff30600a640e6aa (diff)
parent7af5cc29d1c02d20a6890b7b7ba78ab41532a763 (diff)
Update upstream source from tag 'upstream/1.24.0'
Update to upstream version '1.24.0' with Debian dir 44b4fff355c06e5285ef1f8a3ec428ae9cef164b
Diffstat (limited to 'test/test_postprocessor.py')
-rw-r--r--test/test_postprocessor.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/test_postprocessor.py b/test/test_postprocessor.py
index ba37ee0..7da2089 100644
--- a/test/test_postprocessor.py
+++ b/test/test_postprocessor.py
@@ -97,6 +97,7 @@ class BasePostprocessorTest(unittest.TestCase):
self.pathfmt = self.job.pathfmt
self.pathfmt.set_directory(kwdict)
self.pathfmt.set_filename(kwdict)
+ self.pathfmt.build_path()
pp = postprocessor.find(self.__class__.__name__[:-4].lower())
return pp(self.job, options)
@@ -118,6 +119,7 @@ class ClassifyTest(BasePostprocessorTest):
for ext in exts
})
self.pathfmt.set_extension("jpg")
+ self.pathfmt.build_path()
pp.prepare(self.pathfmt)
path = os.path.join(self.dir.name, "test", "Pictures")
@@ -150,6 +152,7 @@ class ClassifyTest(BasePostprocessorTest):
"bar": "foo/bar",
})
self.pathfmt.set_extension("foo")
+ self.pathfmt.build_path()
pp.prepare(self.pathfmt)
path = os.path.join(self.dir.name, "test", "foo", "bar")