aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorBonfaceKilz2021-06-29 13:05:28 +0300
committerBonfaceKilz2021-06-29 14:50:30 +0300
commit045ff342097ba31bf443e1db5f548226ede1220f (patch)
treec7c5505a7cc8e9ede7e46f87a8937ef2bb73ac24 /tests
parentc1d367b89a95277b25c8e3cffc0b82fb4d081fa0 (diff)
downloadgenenetwork3-045ff342097ba31bf443e1db5f548226ede1220f.tar.gz
tests: test_commands: Add extra check for when an error occurs
Diffstat (limited to 'tests')
-rw-r--r--tests/unit/test_commands.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/unit/test_commands.py b/tests/unit/test_commands.py
index f36ba55..e644e1a 100644
--- a/tests/unit/test_commands.py
+++ b/tests/unit/test_commands.py
@@ -149,3 +149,4 @@ class TestCommands(unittest.TestCase):
"""Test that an incorrect cmd is processed correctly"""
result = run_cmd("echoo test")
self.assertEqual(127, result.get("code"))
+ self.assertIn("not found", result.get("output"))