diff options
author | Pedro de Medeiros <pedro.medeiros@gmail.com> | 2021-10-02 14:23:30 -0300 |
---|---|---|
committer | Pedro de Medeiros <pedro.medeiros@gmail.com> | 2021-10-02 14:23:30 -0300 |
commit | 4328a0b43a6ab7ee6fd1781a2e442567eb20af60 (patch) | |
tree | 94dc651521a9aa5b4b22f744c37a0dc48f19fa9a /tests | |
parent | 2a52cb0d99b62bd243627b0a827d3d289564005c (diff) | |
download | ubox-msx-lib-4328a0b43a6ab7ee6fd1781a2e442567eb20af60.tar.gz ubox-msx-lib-4328a0b43a6ab7ee6fd1781a2e442567eb20af60.zip |
Read ROM file entirely, otherwise we are not really checking ROM size.
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() |