From 7af5cc29d1c02d20a6890b7b7ba78ab41532a763 Mon Sep 17 00:00:00 2001 From: Unit 193 Date: Tue, 22 Nov 2022 04:28:38 -0500 Subject: New upstream version 1.24.0. --- test/test_postprocessor.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'test/test_postprocessor.py') 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") -- cgit v1.2.3