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
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Amandine PERRIN
panacota
Commits
d2b737df
Commit
d2b737df
authored
1 year ago
by
Amandine PERRIN
Browse files
Options
Downloads
Patches
Plain Diff
barrnap not installed in test image
parent
52ac2a6b
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Pipeline
#110946
failed
1 year ago
Stage: test
Stage: coverage
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
test/test_install/test_make_all-installed.py
+10
-10
10 additions, 10 deletions
test/test_install/test_make_all-installed.py
with
10 additions
and
10 deletions
test/test_install/test_make_all-installed.py
+
10
−
10
View file @
d2b737df
...
@@ -92,7 +92,7 @@ def test_upgrade(install_panacota):
...
@@ -92,7 +92,7 @@ def test_upgrade(install_panacota):
"""
"""
Test upgrading PanACoTA when dependencies are still installed
Test upgrading PanACoTA when dependencies are still installed
"""
"""
assert
utils
.
check_installed
(
"
barrnap
"
)
#
assert utils.check_installed("barrnap")
assert
utils
.
check_installed
(
"
prokka
"
)
assert
utils
.
check_installed
(
"
prokka
"
)
assert
utils
.
check_installed
(
"
FastTreeMP
"
)
assert
utils
.
check_installed
(
"
FastTreeMP
"
)
assert
utils
.
check_installed
(
"
PanACoTA
"
)
assert
utils
.
check_installed
(
"
PanACoTA
"
)
...
@@ -100,7 +100,7 @@ def test_upgrade(install_panacota):
...
@@ -100,7 +100,7 @@ def test_upgrade(install_panacota):
cmd
=
"
python3 make upgrade
"
cmd
=
"
python3 make upgrade
"
error
=
"
Error upgrade
"
error
=
"
Error upgrade
"
utils
.
run_cmd
(
cmd
,
error
)
utils
.
run_cmd
(
cmd
,
error
)
assert
utils
.
check_installed
(
"
barrnap
"
)
#
assert utils.check_installed("barrnap")
assert
utils
.
check_installed
(
"
prokka
"
)
assert
utils
.
check_installed
(
"
prokka
"
)
assert
utils
.
check_installed
(
"
PanACoTA
"
)
assert
utils
.
check_installed
(
"
PanACoTA
"
)
assert
utils
.
check_installed
(
"
FastTreeMP
"
)
assert
utils
.
check_installed
(
"
FastTreeMP
"
)
...
@@ -121,14 +121,14 @@ def test_upgrade_notinstalled():
...
@@ -121,14 +121,14 @@ def test_upgrade_notinstalled():
cmd
=
"
python3 make uninstall
"
cmd
=
"
python3 make uninstall
"
error
=
"
Error trying to uninstall PanACoTa
"
error
=
"
Error trying to uninstall PanACoTa
"
utils
.
run_cmd
(
cmd
,
error
)
utils
.
run_cmd
(
cmd
,
error
)
assert
utils
.
check_installed
(
"
barrnap
"
)
#
assert utils.check_installed("barrnap")
assert
utils
.
check_installed
(
"
prokka
"
)
assert
utils
.
check_installed
(
"
prokka
"
)
assert
utils
.
check_installed
(
"
FastTreeMP
"
)
assert
utils
.
check_installed
(
"
FastTreeMP
"
)
assert
not
utils
.
check_installed
(
"
PanACoTA
"
)
assert
not
utils
.
check_installed
(
"
PanACoTA
"
)
cmd
=
"
python3 make upgrade
"
cmd
=
"
python3 make upgrade
"
error
=
"
Error upgrade
"
error
=
"
Error upgrade
"
utils
.
run_cmd
(
cmd
,
error
)
utils
.
run_cmd
(
cmd
,
error
)
assert
utils
.
check_installed
(
"
barrnap
"
)
#
assert utils.check_installed("barrnap")
assert
utils
.
check_installed
(
"
prokka
"
)
assert
utils
.
check_installed
(
"
prokka
"
)
assert
utils
.
check_installed
(
"
PanACoTA
"
)
assert
utils
.
check_installed
(
"
PanACoTA
"
)
assert
utils
.
check_installed
(
"
FastTreeMP
"
)
assert
utils
.
check_installed
(
"
FastTreeMP
"
)
...
@@ -146,7 +146,7 @@ def test_uninstall(install_panacota):
...
@@ -146,7 +146,7 @@ def test_uninstall(install_panacota):
"""
"""
Test uninstalling PanACoTA when dependencies are still installed
Test uninstalling PanACoTA when dependencies are still installed
"""
"""
assert
utils
.
check_installed
(
"
barrnap
"
)
#
assert utils.check_installed("barrnap")
assert
utils
.
check_installed
(
"
prokka
"
)
assert
utils
.
check_installed
(
"
prokka
"
)
assert
utils
.
check_installed
(
"
PanACoTA
"
)
assert
utils
.
check_installed
(
"
PanACoTA
"
)
assert
utils
.
check_installed
(
"
FastTreeMP
"
)
assert
utils
.
check_installed
(
"
FastTreeMP
"
)
...
@@ -154,7 +154,7 @@ def test_uninstall(install_panacota):
...
@@ -154,7 +154,7 @@ def test_uninstall(install_panacota):
error
=
"
Error uninstalling
"
error
=
"
Error uninstalling
"
utils
.
run_cmd
(
cmd
,
error
)
utils
.
run_cmd
(
cmd
,
error
)
assert
not
utils
.
check_installed
(
"
PanACoTA
"
)
assert
not
utils
.
check_installed
(
"
PanACoTA
"
)
assert
utils
.
check_installed
(
"
barrnap
"
)
#
assert utils.check_installed("barrnap")
assert
utils
.
check_installed
(
"
prokka
"
)
assert
utils
.
check_installed
(
"
prokka
"
)
assert
utils
.
check_installed
(
"
mash
"
)
assert
utils
.
check_installed
(
"
mash
"
)
assert
utils
.
check_installed
(
"
FastTreeMP
"
)
assert
utils
.
check_installed
(
"
FastTreeMP
"
)
...
@@ -177,12 +177,12 @@ def test_develop():
...
@@ -177,12 +177,12 @@ def test_develop():
error
=
"
Error trying to uninstall PanACoTa
"
error
=
"
Error trying to uninstall PanACoTa
"
utils
.
run_cmd
(
cmd
,
error
)
utils
.
run_cmd
(
cmd
,
error
)
assert
not
utils
.
check_installed
(
"
PanACoTA
"
)
assert
not
utils
.
check_installed
(
"
PanACoTA
"
)
assert
utils
.
check_installed
(
"
barrnap
"
)
#
assert utils.check_installed("barrnap")
assert
utils
.
check_installed
(
"
prokka
"
)
assert
utils
.
check_installed
(
"
prokka
"
)
cmd
=
"
python3 make develop
"
cmd
=
"
python3 make develop
"
error
=
"
Error develop
"
error
=
"
Error develop
"
utils
.
run_cmd
(
cmd
,
error
)
utils
.
run_cmd
(
cmd
,
error
)
assert
utils
.
check_installed
(
"
barrnap
"
)
#
assert utils.check_installed("barrnap")
assert
utils
.
check_installed
(
"
prokka
"
)
assert
utils
.
check_installed
(
"
prokka
"
)
assert
utils
.
check_installed
(
"
PanACoTA
"
)
assert
utils
.
check_installed
(
"
PanACoTA
"
)
# Check installed in developper mode (egg-info file is present)
# Check installed in developper mode (egg-info file is present)
...
@@ -226,12 +226,12 @@ def test_install_user():
...
@@ -226,12 +226,12 @@ def test_install_user():
utils
.
run_cmd
(
cmd
,
error
)
utils
.
run_cmd
(
cmd
,
error
)
cmd
=
"
python3 make --user
"
cmd
=
"
python3 make --user
"
error
=
"
Error trying to install PanACoTA from base
"
error
=
"
Error trying to install PanACoTA from base
"
assert
utils
.
check_installed
(
"
barrnap
"
)
#
assert utils.check_installed("barrnap")
assert
utils
.
check_installed
(
"
prokka
"
)
assert
utils
.
check_installed
(
"
prokka
"
)
assert
not
utils
.
check_installed
(
"
PanACoTA
"
)
assert
not
utils
.
check_installed
(
"
PanACoTA
"
)
assert
utils
.
check_installed
(
"
FastTreeMP
"
)
assert
utils
.
check_installed
(
"
FastTreeMP
"
)
utils
.
run_cmd
(
cmd
,
error
)
utils
.
run_cmd
(
cmd
,
error
)
assert
utils
.
check_installed
(
"
barrnap
"
)
#
assert utils.check_installed("barrnap")
assert
utils
.
check_installed
(
"
prokka
"
)
assert
utils
.
check_installed
(
"
prokka
"
)
assert
utils
.
check_installed
(
"
PanACoTA
"
)
assert
utils
.
check_installed
(
"
PanACoTA
"
)
assert
utils
.
check_installed
(
"
FastTreeMP
"
)
assert
utils
.
check_installed
(
"
FastTreeMP
"
)
...
...
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