-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #101 from michaelbarton/fix/check-container-rm
Fix --no-rm arg not being used correctly
- Loading branch information
Showing
5 changed files
with
25 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
#!/bin/bash | ||
|
||
make test ARGS=$* | ||
make test ARGS="$*" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,17 @@ | ||
import helper as hlpr | ||
import biobox_cli.container as ctn | ||
import biobox.util as docker | ||
import pytest, tempfile, helper | ||
import biobox_cli.command.run as biobox | ||
|
||
|
||
def create_args(output): | ||
return ["run", | ||
"short_read_assembler", | ||
"bioboxes/velvet", | ||
"--input={}".format(helper.verification_file('short_read_assembler/genome_paired_reads.fq.gz')), | ||
"--output={}".format(output)] | ||
|
||
@pytest.mark.noci | ||
@pytest.mark.slow | ||
def test_short_read_assembler(): | ||
# Will run the remove() function | ||
# Difficult to check this has worked though | ||
biobox.run(create_args(tempfile.mkdtemp())) |