File: test_test_framework.py

package info (click to toggle)
sourmash 4.9.4-4
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 54,688 kB
  • sloc: python: 59,380; ansic: 332; makefile: 277; sh: 6
file content (8 lines) | stat: -rw-r--r-- 223 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
import pytest
import sourmash_tst_utils as utils
from sourmash_tst_utils import SourmashCommandFailed


def test_failed_sourmash_exception(runtmp):
    with pytest.raises(SourmashCommandFailed):
        runtmp.sourmash("")