We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9fd5a6d commit e5c4e55Copy full SHA for e5c4e55
unit_tests/test_DBRunner.py
@@ -86,10 +86,8 @@ def test_parse_dbrunner_args_bad(self):
86
finally:
87
sys.stderr.close()
88
sys.stderr = oldstderr
89
- self.assertEqual(
90
- '{}: error: {}'.format(os.path.basename(sys.argv[0]), msg), err)
91
-
92
+ running_script = os.path.basename(sys.argv[0])
+ self.assertTrue(err.startswith("{}: error: argument".format(running_script)))
93
class DBRunnerCalcRunmeTests(unittest.TestCase, dbp_testing.AddtoDBMixin):
94
"""DBRunner tests of calc_runme"""
95
0 commit comments