From 782f6fee10430464416ba8904fd7c6c7ea302779 Mon Sep 17 00:00:00 2001 From: Bryan Bishop Date: Sun, 4 Aug 2013 14:00:56 -0500 Subject: move a TestAsmList test into tests/integrations/ --- tests/integration/tests.py | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'tests/integration') 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() -- cgit v1.2.3