[pp:rename] improve renaming files 'to' a format (#5846, #6044)

This commit is contained in:
Mike Fährmann
2024-09-03 21:13:19 +02:00
parent 6f611de889
commit 359572162b
6 changed files with 48 additions and 25 deletions

View File

@@ -767,7 +767,7 @@ class RenameTest(BasePostprocessorTest):
self._create({"to": "{id}.{extension}"}, {"id": 12345})
path = self._prepare("file.ext")
self._trigger()
self._trigger(("skip",))
self.assertEqual(os.listdir(path), ["12345.ext"])