Skip to content
Snippets Groups Projects
Verified Commit 3175af8d authored by Robert Rosca's avatar Robert Rosca
Browse files

Update tests to mock stderr from run_proc_async

parent 9040acd1
No related branches found
No related tags found
1 merge request!670Check for transfer conditional on resolved symlink path
......@@ -230,7 +230,7 @@ async def test_run_action(mode, cmd, retcode, expected, monkeypatch):
job_db = mock.Mock()
async def mock_run_proc_async(*args):
return retcode, b'Submitted job: 42'
return retcode, b'Submitted job: 42', b''
monkeypatch.setattr(
webservice.webservice, 'run_proc_async', mock_run_proc_async
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment