[tests/postprocessor] fix 'TypeError' when logging an error (#6582)

https://github.com/mikf/gallery-dl/issues/6582#issuecomment-3121493719
This commit is contained in:
Mike Fährmann
2025-07-26 17:10:25 +02:00
parent 31de2e8299
commit 9872a9eae3
2 changed files with 3 additions and 1 deletions

View File

@@ -314,6 +314,7 @@ class ExecTest(BasePostprocessorTest):
with patch("gallery_dl.util.Popen") as p:
i = Mock()
i.wait.return_value = 0
p.return_value = i
self._trigger(("after",))
@@ -334,6 +335,7 @@ class ExecTest(BasePostprocessorTest):
with patch("gallery_dl.util.Popen") as p:
i = Mock()
i.wait.return_value = 0
p.return_value = i
self._trigger(("after",))