[tests/postprocessor] fix 'TypeError' when logging an error (#6582)
https://github.com/mikf/gallery-dl/issues/6582#issuecomment-3121493719
This commit is contained in:
@@ -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",))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user