Skip to content

Commit

Permalink
added check in existing test
Browse files Browse the repository at this point in the history
  • Loading branch information
ctb committed Mar 9, 2024
1 parent 6d97c34 commit 0ed05db
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions tests/test_sourmash_sketch.py
Original file line number Diff line number Diff line change
Expand Up @@ -1393,6 +1393,9 @@ def test_do_sourmash_singleton_multiple_files_no_out_specified(runtmp):
"saved 2 signature(s) to 'shewanella.faa.sig'. Note: signature license is CC0."
in runtmp.last_result.err
)
assert (
"calculated 2 signatures for 2 sequences in" in runtmp.last_result.err
)

sig1 = runtmp.output("ecoli.faa.sig")
assert os.path.exists(sig1)
Expand Down Expand Up @@ -1441,6 +1444,13 @@ def test_do_sourmash_singleton_multiple_files_output(runtmp):
"saved 4 signature(s) to 'output.sig'. Note: signature license is CC0."
in runtmp.last_result.err
)
assert (
"calculated 2 signatures for 2 sequences in" in runtmp.last_result.err
)
assert (
"calculated 4 signatures for 2 sequences in"
not in runtmp.last_result.err
)

sig1 = runtmp.output("output.sig")
assert os.path.exists(sig1)
Expand Down

0 comments on commit 0ed05db

Please sign in to comment.