Skip to content

Commit

Permalink
add missing files
Browse files Browse the repository at this point in the history
  • Loading branch information
cokelaer committed Apr 12, 2022
1 parent 3fa2b53 commit bcc7257
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 0 deletions.
7 changes: 7 additions & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
recursive-exclude * __pycache__
recursive-exclude * *pyc
include requirements*txt
include CONTRIBUTING.rst
include LICENSE
include README.rst
recursive-exclude test *
18 changes: 18 additions & 0 deletions test/test_main.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
from biosniff.main import sniffer


from . import test_dir

def test_main():

from click.testing import CliRunner
runner = CliRunner()

# fastq command
filename1 = f"{test_dir}/../../data/fastq/test.fastq.gz"
results = runner.invoke(sniffer, ['--help'])
assert results.exit_code == 0
results = runner.invoke(sniffer, [f"{test_dir}/data/measles.sam"])
assert results.exit_code == 0


0 comments on commit bcc7257

Please sign in to comment.