Skip to content

Commit

Permalink
tests: fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
renaudjester committed Mar 28, 2024
1 parent 448fe06 commit e5560b2
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions tests/test_request_files.py
Original file line number Diff line number Diff line change
Expand Up @@ -121,8 +121,9 @@ def test_get_download_no_files(self, tmp_path):
f"{tmp_path}",
]

output = subprocess.run(command)
assert output.returncode == 1
output = subprocess.run(command, stdout=subprocess.PIPE)
assert b"No data to download" in output.stdout
assert output.returncode == 0

def test_get_request_with_request_file(self, tmp_path):
filepath = get_path_to_request_file(
Expand Down

0 comments on commit e5560b2

Please sign in to comment.