Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
jpfleischer committed Jan 9, 2024
1 parent 1652eea commit 36925b0
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions tests/test_installer.py
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down

0 comments on commit 36925b0

Please sign in to comment.