diff options
author | BonfaceKilz | 2021-06-29 13:05:28 +0300 |
---|---|---|
committer | BonfaceKilz | 2021-06-29 14:50:30 +0300 |
commit | 045ff342097ba31bf443e1db5f548226ede1220f (patch) | |
tree | c7c5505a7cc8e9ede7e46f87a8937ef2bb73ac24 /tests | |
parent | c1d367b89a95277b25c8e3cffc0b82fb4d081fa0 (diff) | |
download | genenetwork3-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.py | 1 |
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")) |