summaryrefslogtreecommitdiff
path: root/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
commit307894a7dd2ea26e6a11c4d3304404e535f0370c (patch)
treeca9c7b6ad5b6b4fab394fbb8e98810d13c9138c1 /tests.py
parentcc0757f7c7e80821b414ba48f350e355da9e63d2 (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. original-commit-id: f8b1695b548403e5db7e65d22e10cde81be66861
Diffstat (limited to 'tests.py')
-rw-r--r--tests.py8
1 files changed, 6 insertions, 2 deletions
diff --git a/tests.py b/tests.py
index 8e2fc20..ce4d466 100644
--- a/tests.py
+++ b/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,