Skip to content

Commit

Permalink
test bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
jstucke committed Nov 15, 2021
1 parent 0605514 commit ec84b69
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test_extract.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ def test_handle_report(monkeypatch, capsys, tmpdir):
[['extract.py', '-o', '/tmp/valid_dir', '-c', 'container_will_succeed', '-r', '/tmp/report', '/bin/bash'], 0, '']
])
def test_main_return_values(arguments, return_code, message, monkeypatch, capsys):
monkeypatch.setattr('extract.call_docker', lambda input_file, container, target, report_file, memory_limit: None)
monkeypatch.setattr('extract.call_docker', lambda **_: None)
monkeypatch.setattr('extract.sys.argv', arguments)
monkeypatch.setattr('extract.subprocess.run', exec_stub)

Expand Down

0 comments on commit ec84b69

Please sign in to comment.