Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
panacota
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Amandine PERRIN
panacota
Commits
f2b892cb
Commit
f2b892cb
authored
4 years ago
by
Amandine PERRIN
Browse files
Options
Downloads
Patches
Plain Diff
adapt tests to option boot being int
parent
7ce54e34
No related branches found
No related tags found
No related merge requests found
Pipeline
#57662
passed
4 years ago
Stage: test
Stage: coverage
Changes
2
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
test/test_functional/test_all-parser.py
+1
-1
1 addition, 1 deletion
test/test_functional/test_all-parser.py
test/test_functional/test_tree-parser.py
+3
-3
3 additions, 3 deletions
test/test_functional/test_tree-parser.py
with
4 additions
and
4 deletions
test/test_functional/test_all-parser.py
+
1
−
1
View file @
f2b892cb
...
...
@@ -50,7 +50,7 @@ def test_parser_noconffile():
assert
options
.
clust_mode
==
1
assert
options
.
min_id
==
0.8
assert
options
.
tol
==
1
assert
not
options
.
boot
assert
options
.
boot
==
0
def
test_parser_conffile
():
...
...
This diff is collapsed.
Click to expand it.
test/test_functional/test_tree-parser.py
+
3
−
3
View file @
f2b892cb
...
...
@@ -191,7 +191,7 @@ def test_parser_fasttree_fast(capsys):
with
pytest
.
raises
(
SystemExit
):
tree
.
parse
(
parser
,
"
-o outdir -a align -s fasttree -fast
"
.
split
())
_
,
err
=
capsys
.
readouterr
()
assert
"
-fast option is available only for IQtree, and not compatible with
'
-B
'
and
'
-
b
'
options (bootstraps)
"
in
err
assert
"
-fast option is available only for IQtree, and not compatible with
'
-B
'
and
'
-
-boot
'
options (bootstraps)
"
in
err
def
test_parser_fastme_memory
(
capsys
):
...
...
@@ -217,7 +217,7 @@ def test_parser_iqtree_boot_fast(capsys):
with
pytest
.
raises
(
SystemExit
):
tree
.
parse
(
parser
,
"
-o outdir -a align -b 1000 -fast
"
.
split
())
_
,
err
=
capsys
.
readouterr
()
assert
"
-fast option is available only for IQtree, and not compatible with
'
-B
'
and
'
-
b
'
options (bootstraps)
"
in
err
assert
"
-fast option is available only for IQtree, and not compatible with
'
-B
'
and
'
-
-boot
'
options (bootstraps)
"
in
err
def
test_parser_iqtree_writeboot_fast
(
capsys
):
...
...
@@ -230,7 +230,7 @@ def test_parser_iqtree_writeboot_fast(capsys):
with
pytest
.
raises
(
SystemExit
):
tree
.
parse
(
parser
,
"
-o outdir -a align -B -fast
"
.
split
())
_
,
err
=
capsys
.
readouterr
()
assert
"
-fast option is available only for IQtree, and not compatible with
'
-B
'
and
'
-
b
'
options (bootstraps)
"
in
err
assert
"
-fast option is available only for IQtree, and not compatible with
'
-B
'
and
'
-
-boot
'
options (bootstraps)
"
in
err
def
test_parser_default
():
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment