update test for new media handling

This commit is contained in:
Damien Elmes 2010-12-12 20:07:20 +09:00
parent 902800de99
commit 6563f0cefb

View file

@ -172,7 +172,7 @@ def test_media():
deck.addMedia(file) deck.addMedia(file)
# make sure it gets copied on saveas # make sure it gets copied on saveas
path = "/tmp/saveAs2.anki" path = "/tmp/saveAs2.anki"
sum = "0bee89b07a248e27c83fc3d5951213c1.png" sum = "fake.png"
try: try:
os.unlink(path) os.unlink(path)
except OSError: except OSError: