diff --git a/test/test_kboot.py b/test/test_kboot.py index 4e5bba4..763c9a8 100644 --- a/test/test_kboot.py +++ b/test/test_kboot.py @@ -34,9 +34,9 @@ class TestKbootHeader(object): self.check_size(data) def test_real(self): - data = np.fromfile("air_defense_v18.xex", dtype=np.uint8) + data = np.fromfile("../test_data/air_defense_v18.xex", dtype=np.uint8) image = self.check_size(data) - with open("air_defense_v18.atr", "wb") as fh: + with open("../test_data/air_defense_v18.atr", "wb") as fh: txt = image.tostring() fh.write(txt) diff --git a/test_data/air_defense_v18.xex b/test_data/air_defense_v18.xex new file mode 100644 index 0000000..e24f09c Binary files /dev/null and b/test_data/air_defense_v18.xex differ diff --git a/test/create_binary.py b/test_data/create_binary.py similarity index 100% rename from test/create_binary.py rename to test_data/create_binary.py diff --git a/test/rebuild.sh b/test_data/rebuild.sh similarity index 100% rename from test/rebuild.sh rename to test_data/rebuild.sh