diff --git a/tests/test_installer.py b/tests/test_installer.py index a20a91d..fd95792 100644 --- a/tests/test_installer.py +++ b/tests/test_installer.py @@ -60,8 +60,11 @@ def test_non_existing(self): print("PWD:", os.getcwd()) cmd = "cloudmesh-installer git clone WRONG" - result = Shell.run(cmd) - assert True + try: + result = Shell.run(cmd) + assert False + except RuntimeError: + assert True def test_clone_community(self): banner("test_clone_community")