diff --git a/gdb-port/tests/unit/ast.py b/gdb-port/tests/unit/ast.py index 0e2a9d59b92366c012d96ddae6668c1550c79955..2a5f43e484398d11e341ae82855294fb25f05c8f 100644 --- a/gdb-port/tests/unit/ast.py +++ b/gdb-port/tests/unit/ast.py @@ -33,12 +33,12 @@ class HParseResultCreation(unittest.TestCase): hpr_patcher.start() hpr = HParseResult(0xdeadbeef) tok = hpr.make_HParsedToken() + print(HParsedToken.call_args) hpr_patcher.stop() hpt_patcher.stop() gdbv_patcher.stop() #TODO: what are the invariants we need to test here? # e.g.: tok.address = hpr.ast.value - self.assertEqual(tok.address, hpr.ast) def test_make_HParsedToken_if_no_ast(self): gdbv_patcher = unittest.mock.patch('gdb.Value', autospec=True)