summaryrefslogtreecommitdiff
path: root/tests/tests.py
diff options
context:
space:
mode:
authoryenatch <yenatch@gmail.com>2013-11-05 14:11:04 -0500
committeryenatch <yenatch@gmail.com>2013-11-05 14:11:04 -0500
commitda7b863b8e20d5d8da07d9eb44e0fd4f5f0848d0 (patch)
tree09a02add28a0d34589fce85ec2fde3da81c8eb05 /tests/tests.py
parent4a7373d8e79d17f10ebafa3ccef7b822a5b139af (diff)
parentdafb5518df768f93ac94c59d4bf5981e95f7aba0 (diff)
Merge branch 'master' of github.com:kanzure/pokemon-reverse-engineering-tools
Diffstat (limited to 'tests/tests.py')
-rw-r--r--tests/tests.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/tests.py b/tests/tests.py
index c6c1265..7919a66 100644
--- a/tests/tests.py
+++ b/tests/tests.py
@@ -35,6 +35,7 @@ from pokemontools.labels import (
line_has_comment_address,
line_has_label,
get_label_from_line,
+ find_labels_without_addresses,
)
from pokemontools.helpers import (
@@ -84,7 +85,6 @@ from pokemontools.crystal import (
process_incbins,
get_labels_between,
generate_diff_insert,
- find_labels_without_addresses,
rom_text_at,
get_label_for,
split_incbin_line_into_three,
@@ -389,10 +389,10 @@ class TestAsmList(unittest.TestCase):
def test_find_labels_without_addresses(self):
global asm
asm = ["hello_world: ; 0x1", "hello_world2: ;"]
- labels = find_labels_without_addresses()
+ labels = find_labels_without_addresses(asm)
self.failUnless(labels[0]["label"] == "hello_world2")
asm = ["hello world: ;1", "hello_world: ;2"]
- labels = find_labels_without_addresses()
+ labels = find_labels_without_addresses(asm)
self.failUnless(len(labels) == 0)
asm = None