diff --git a/test/test_install/test_make_prokka-quicktree.py b/test/test_install/test_make_prokka-quicktree.py index 569c2d3334f47a61438ae78db8becfe24c4d1e5a..1382c328bd17f2bd18a27ccf183b83722cd09287 100755 --- a/test/test_install/test_make_prokka-quicktree.py +++ b/test/test_install/test_make_prokka-quicktree.py @@ -134,6 +134,9 @@ def test_develop(): """ Test installing PanACoTA in developer mode, when prokka and barrnap are already installed """ + cmd = "python3 make uninstall" + error = "Error trying to uninstall PanACoTa" + utils.run_cmd(cmd, error) assert not utils.check_installed("PanACoTA") assert not utils.check_installed("barrnap") assert utils.check_installed('quicktree') @@ -191,6 +194,9 @@ def test_install_user(): Test that when installing from a computer containing only prokka, in user mode, it installs PanACoTA in /Users and returns list of dependencies """ + cmd = "python3 make uninstall" + error = "Error trying to uninstall PanACoTa" + utils.run_cmd(cmd, error) assert not utils.check_installed("barrnap") assert not utils.check_installed("mash") assert utils.check_installed("prokka")