Skip to content

Commit

Permalink
add test
Browse files Browse the repository at this point in the history
  • Loading branch information
cokelaer committed Aug 5, 2020
1 parent beb62ac commit 696eb39
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions test/test_damona.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,17 @@
def test_damona_app():
from click.testing import CliRunner
from damona.script import install
from damona.script import list as _list
runner = CliRunner()

# isntall
results = runner.invoke(install, ['fastqc:0.11.9', '--dryrun'])
assert results.exit_code == 0

results = runner.invoke(_list)
assert results.exit_code == 0


def test_python_pull():
p = pull.Pull(dryrun=True)
p.pull("fastqc:0.11.9")
Expand Down

0 comments on commit 696eb39

Please sign in to comment.