diff options
author | Juan J. MartÃnez <jjm@usebox.net> | 2021-10-02 17:49:26 +0000 |
---|---|---|
committer | Juan J. MartÃnez <jjm@usebox.net> | 2021-10-02 17:49:26 +0000 |
commit | 5763dc7aa0b0fc44d9776f582b692d086f8b5b6d (patch) | |
tree | 94dc651521a9aa5b4b22f744c37a0dc48f19fa9a /tests | |
parent | 2a52cb0d99b62bd243627b0a827d3d289564005c (diff) | |
parent | 4328a0b43a6ab7ee6fd1781a2e442567eb20af60 (diff) | |
download | ubox-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-x | tests/test_rom.py | 2 |
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() |