Skip to content

Commit

Permalink
Added unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
mhkc committed Dec 18, 2023
1 parent 62d4a89 commit 6393c38
Show file tree
Hide file tree
Showing 7 changed files with 1,204 additions and 8 deletions.
15 changes: 13 additions & 2 deletions tests/fixtures/ecoli/__init__.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
"""Ecoli input data fixutres."""

import pytest
import json

import pytest

from ..fixtures import data_path


Expand Down Expand Up @@ -37,10 +38,20 @@ def ecoli_resfinder_meta_path(data_path):


@pytest.fixture()
def ecoli_virulencefinder_path(data_path):
def ecoli_virulencefinder_wo_stx_path(data_path):
return str(data_path.joinpath("ecoli", "virulencefinder.json"))


@pytest.fixture()
def ecoli_virulencefinder_stx_pred_stx_path(data_path):
return str(data_path.joinpath("ecoli", "virulencefinder.stx_pred.stx.json"))


@pytest.fixture()
def ecoli_virulencefinder_stx_pred_no_stx_path(data_path):
return str(data_path.joinpath("ecoli", "virulencefinder.stx_pred.no_stx.json"))


@pytest.fixture()
def ecoli_virulencefinder_meta_path(data_path):
return str(data_path.joinpath("ecoli", "virulencefinder_meta.json"))
Expand Down
373 changes: 372 additions & 1 deletion tests/fixtures/ecoli/virulencefinder.json

Large diffs are not rendered by default.

Loading

0 comments on commit 6393c38

Please sign in to comment.