aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorJuan J. Martínez <jjm@usebox.net>2021-10-02 17:49:26 +0000
committerJuan J. Martínez <jjm@usebox.net>2021-10-02 17:49:26 +0000
commit5763dc7aa0b0fc44d9776f582b692d086f8b5b6d (patch)
tree94dc651521a9aa5b4b22f744c37a0dc48f19fa9a /tests
parent2a52cb0d99b62bd243627b0a827d3d289564005c (diff)
parent4328a0b43a6ab7ee6fd1781a2e442567eb20af60 (diff)
downloadubox-msx-lib-5763dc7aa0b0fc44d9776f582b692d086f8b5b6d.tar.gz
ubox-msx-lib-5763dc7aa0b0fc44d9776f582b692d086f8b5b6d.zip
Merge branch 'master' into 'master'
Read ROM file entirely, otherwise we are not really checking ROM size. See merge request reidrac/ubox-msx-lib!13
Diffstat (limited to 'tests')
-rwxr-xr-xtests/test_rom.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_rom.py b/tests/test_rom.py
index 657a161..a2148e1 100755
--- a/tests/test_rom.py
+++ b/tests/test_rom.py
@@ -13,7 +13,7 @@ class TestRom(unittest.TestCase):
@classmethod
def setUpClass(cls):
with open(path.join("..", "bin", "game.rom"), "rb") as fd:
- cls.data = fd.read(cls.ROM_SIZE)
+ cls.data = fd.read()
with open(path.join("..", "game", "build", "game.map"), "rb") as fd:
game_map = fd.readlines()