Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
bluegenes committed May 1, 2024
1 parent 5911125 commit 4023e11
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_gbsketch.py
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ def test_gbsketch_bad_acc(runtmp):


def test_gbsketch_missing_accfile(runtmp, capfd):
acc_csv = get_test_data('acc1.csv')
acc_csv = runtmp.output('acc1.csv')
output = runtmp.output('simple.zip')
failed = runtmp.output('failed.csv')

Expand All @@ -249,7 +249,7 @@ def test_gbsketch_missing_accfile(runtmp, capfd):

captured = capfd.readouterr()
print(captured.err)
assert "Error: No accessions to download and sketch." in captured.err
assert "Error: No such file or directory" in captured.err

def test_gbsketch_empty_accfile(runtmp, capfd):
acc_csv = get_test_data('acc1.csv')
Expand Down

0 comments on commit 4023e11

Please sign in to comment.