summaryrefslogtreecommitdiff
path: root/tests/integration/tests.py
diff options
context:
space:
mode:
authorBryan Bishop <kanzure@gmail.com>2016-08-29 15:13:18 -0500
committerBryan Bishop <kanzure@gmail.com>2016-08-29 15:13:18 -0500
commit080bbf00ff93e334eb22e89fb980a64769b4aa01 (patch)
treec67cc7b8500aac4e400d4e8bfdbef57a57b63eb1 /tests/integration/tests.py
parent85ee624293900c78e9b02f1fcb4aa00c5b2140a5 (diff)
some python3-specific changespy3-continued
Diffstat (limited to 'tests/integration/tests.py')
-rw-r--r--tests/integration/tests.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/integration/tests.py b/tests/integration/tests.py
index 024feab..e5ca6cd 100644
--- a/tests/integration/tests.py
+++ b/tests/integration/tests.py
@@ -155,6 +155,9 @@ class BasicTestCase(unittest.TestCase):
rom_segment = self.rom[0x112116:0x112116+8]
self.assertEqual(rom_segment, "HTTP/1.0")
+ def test_rom_text_at(self):
+ self.assertEquals(rom_text_at(0x112116, 8), b"HTTP/1.0")
+
def test_rom_interval(self):
address = 0x100
interval = 10
@@ -186,9 +189,6 @@ class BasicTestCase(unittest.TestCase):
addr2 = calculate_pointer_from_bytes_at(0x100, bank=True)
self.assertEqual(addr2, 0x2ec3)
- def test_rom_text_at(self):
- self.assertEquals(rom_text_at(0x112116, 8), "HTTP/1.0")
-
class TestRomStr(unittest.TestCase):
sample_text = "hello world!"
sample = None