diff options
Diffstat (limited to 'tests/unit/benchmark/scenarios/parser/test_parser.py')
-rw-r--r-- | tests/unit/benchmark/scenarios/parser/test_parser.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/unit/benchmark/scenarios/parser/test_parser.py b/tests/unit/benchmark/scenarios/parser/test_parser.py index 73d67f01f..014d724a5 100644 --- a/tests/unit/benchmark/scenarios/parser/test_parser.py +++ b/tests/unit/benchmark/scenarios/parser/test_parser.py @@ -32,7 +32,7 @@ class ParserTestCase(unittest.TestCase): p = parser.Parser({}, {}) mock_subprocess.call().return_value = 0 p.setup() - self.assertEqual(p.setup_done, True) + self.assertTrue(p.setup_done) def test_parser_successful(self, mock_subprocess): args = { @@ -52,7 +52,7 @@ class ParserTestCase(unittest.TestCase): p = parser.Parser({}, {}) mock_subprocess.call().return_value = 0 p.teardown() - self.assertEqual(p.teardown_done, True) + self.assertTrue(p.teardown_done) def main(): |