Commit Graph

21 Commits

Author SHA1 Message Date
Bryan Bishop
8f0b06f22e fix an import in tests.py 2013-11-09 15:21:59 -06:00
Bryan Bishop
463cd6197f move find_labels_without_addresses into labels.py 2013-09-12 01:15:45 -05:00
Bryan Bishop
74a9f14502 move index and grouper into helpers.py 2013-09-01 15:33:52 -05:00
Bryan Bishop
611c2ecdd0 fix the test for calculate_bank
There shouldn't be any exception thrown by calculate_bank since it was
changed some time ago.
2013-08-04 16:11:51 -05:00
Bryan Bishop
a1bfc404cb make isolate_incbins not take a global asm
Why on earth was this using globals?
2013-08-04 15:59:16 -05:00
Bryan Bishop
dbf6c1eedc fix setUpClass for a unittest.TestCase 2013-08-04 15:42:59 -05:00
Bryan Bishop
51d7e0e876 fix a test that used Label
Label had changed since the test was first written.
2013-08-04 15:40:04 -05:00
Bryan Bishop
1169805e54 improve the test for incbin splitting 2013-08-04 15:35:51 -05:00
Bryan Bishop
5c32531c48 separate more integration tests 2013-08-04 14:27:36 -05:00
Bryan Bishop
4aacc3bf3e move TestEncodedText into tests/integration/ 2013-08-04 14:16:44 -05:00
Bryan Bishop
782f6fee10 move a TestAsmList test into tests/integrations/ 2013-08-04 14:00:56 -05:00
Bryan Bishop
b401a99d42 clean up the formatting in test_write_all_labels 2013-08-04 13:52:17 -05:00
Bryan Bishop
3f68f25dbf remove a file that was created during a test 2013-08-04 13:46:43 -05:00
Bryan Bishop
09ac98ba7a separate some of the integration tests
These tests require extra assets to complete. At the moment they
shouldn't work because the data isn't available.
2013-08-04 13:43:16 -05:00
Bryan Bishop
0ee820c6d6 remove unused imports from tests.py 2013-08-04 13:14:50 -05:00
Bryan Bishop
f4f0005e94 remove a useless test 2013-08-04 13:07:59 -05:00
Bryan Bishop
0d97582126 remove test helpers and meta testing
The meta testing code was really redundant. There are libraries and
tools already made for coverage tests.

Also, it was causing a problem with the unit testing because importing
the unittest module inside of another included module is apparently
broken. Why would that be broken?
2013-08-04 13:00:07 -05:00
Bryan Bishop
8d179bb81b split meta-testing into separate files 2013-08-04 12:54:33 -05:00
Bryan Bishop
fac185b781 remove python2.6 check in tests.py
There's no way that this library supports python2.6, and even if it
does, it's not a target or something worth maintaining.
2013-08-04 10:41:37 -05:00
Bryan Bishop
a76acbadd2 fix import lines in tests/ 2013-08-03 16:12:54 -05:00
Bryan Bishop
28490230cf make a basic python module 2013-08-03 16:10:52 -05:00