diff options
author | Bryan Bishop <kanzure@gmail.com> | 2013-08-04 14:00:56 -0500 |
---|---|---|
committer | Bryan Bishop <kanzure@gmail.com> | 2013-08-04 14:00:56 -0500 |
commit | 782f6fee10430464416ba8904fd7c6c7ea302779 (patch) | |
tree | f61d7912395e348f9dbe8736ab29d96ccb434caa /tests/integration/tests.py | |
parent | b401a99d425687801bf8a2f6c53a4baabcb208ab (diff) |
move a TestAsmList test into tests/integrations/
Diffstat (limited to 'tests/integration/tests.py')
-rw-r--r-- | tests/integration/tests.py | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/integration/tests.py b/tests/integration/tests.py index 2ce550d..26f99d7 100644 --- a/tests/integration/tests.py +++ b/tests/integration/tests.py @@ -204,5 +204,16 @@ class TestRomStr(unittest.TestCase): self.failUnless(len(bytes) == 3) self.failUnless(bytes[0] == 0xd5) +class TestAsmList(unittest.TestCase): + # this test takes a lot of time :( + def xtest_scan_for_predefined_labels(self): + # label keys: line_number, bank, label, offset, address + load_asm() + all_labels = scan_for_predefined_labels() + label_names = [x["label"] for x in all_labels] + self.assertIn("GetFarByte", label_names) + self.assertIn("AddNTimes", label_names) + self.assertIn("CheckShininess", label_names) + if __name__ == "__main__": unittest.main() |