summaryrefslogtreecommitdiff
path: root/extras/tests.py
diff options
context:
space:
mode:
authorBryan Bishop <kanzure@gmail.com>2013-01-27 16:24:28 -0600
committerBryan Bishop <kanzure@gmail.com>2013-01-27 16:27:41 -0600
commitf8b1695b548403e5db7e65d22e10cde81be66861 (patch)
treed4ada2c948f7627a06172b576946a0e7f276cec0 /extras/tests.py
parentc7755935fa281a633f85c1c79effa66ddf50796f (diff)
split out more item_constants stuff
Some of the item_constants functions are now placed in item_constants.py, and the unit tests now import from that file rather than from crystal.py for those functions.
Diffstat (limited to 'extras/tests.py')
-rw-r--r--extras/tests.py8
1 files changed, 6 insertions, 2 deletions
diff --git a/extras/tests.py b/extras/tests.py
index 8e2fc2001..ce4d4663f 100644
--- a/extras/tests.py
+++ b/extras/tests.py
@@ -12,6 +12,12 @@ from romstr import RomStr
from interval_map import IntervalMap
from chars import chars, jap_chars
+from item_constants import (
+ item_constants,
+ find_item_label_by_id,
+ generate_item_constants,
+)
+
from crystal import (
rom,
load_rom,
@@ -56,8 +62,6 @@ from crystal import (
get_id_for_map_constant_label,
AsmList,
pksv_crystal,
- generate_item_constants,
- find_item_label_by_id,
calculate_pointer_from_bytes_at,
isolate_incbins,
remove_quoted_text,