Skip to content

Commit

Permalink
all fns at top
Browse files Browse the repository at this point in the history
  • Loading branch information
bluegenes committed Sep 14, 2023
1 parent b7337e2 commit f70a9de
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions src/python/tests/test_multigather.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,17 +20,19 @@ def make_file_list(filename, paths):
fp.write("\n")


def index_siglist(runtmp, siglist, db):
# build index
runtmp.sourmash('scripts', 'index', siglist,
'-o', db)
return db


def test_installed(runtmp):
with pytest.raises(utils.SourmashCommandFailed):
runtmp.sourmash('scripts', 'fastmultigather')

assert 'usage: fastmultigather' in runtmp.last_result.err

def index_siglist(runtmp, siglist, db):
# build index
runtmp.sourmash('scripts', 'index', siglist,
'-o', db)
return db

@pytest.mark.parametrize('indexed', [False, True])
def test_simple(runtmp, indexed):
Expand Down

0 comments on commit f70a9de

Please sign in to comment.