diff options
Diffstat (limited to 'app/tests/test_backends_common.py')
| -rw-r--r-- | app/tests/test_backends_common.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/app/tests/test_backends_common.py b/app/tests/test_backends_common.py index b8a8e90..3b4e7f9 100644 --- a/app/tests/test_backends_common.py +++ b/app/tests/test_backends_common.py @@ -61,7 +61,8 @@ class GitCloneTests(unittest.TestCase): ["git", "clone", "url", "/t"]) def test_git_clone_streaming_adds_progress(self): - emit = lambda line: None + def emit(line): + pass with mock.patch.object(common, "run_console_subprocess", return_value=0) as run: self.assertEqual(common.git_clone("url", common.Path("/t"), |
