Added new test_data directory for test images

This commit is contained in:
Rob McMullen 2016-06-06 11:53:55 -07:00
parent 2b7d895f80
commit 66bb7e63ea
4 changed files with 2 additions and 2 deletions

View File

@ -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)

Binary file not shown.