Skip to content

Commit

Permalink
add real data tests
Browse files Browse the repository at this point in the history
  • Loading branch information
adraismawur committed Jul 16, 2024
1 parent 92578fd commit 3ac3e91
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions tests/unit/genomics/test_runbigscape.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,26 @@ def test_run_bigscape_v2(self, tmp_path):

assert result is True

def test_run_bigscape_small_dataset_v1(self, tmp_path):
result = bigscape.run_bigscape(
antismash_path=DATA_DIR / "bigscape/minimal_dataset",
output_path=tmp_path,
extra_params="",
version=1,
)

assert result is True

def test_run_bigscape_small_dataset_v2(self, tmp_path):
result = bigscape.run_bigscape(
antismash_path=DATA_DIR / "bigscape/minimal_dataset",
output_path=tmp_path,
extra_params="",
version=2,
)

assert result is True

def test_run_bigscape_wrong_version(self, tmp_path):
with pytest.raises(ValueError) as e:
bigscape.run_bigscape(
Expand Down

0 comments on commit 3ac3e91

Please sign in to comment.