mirror of
https://github.com/ankitects/anki.git
synced 2025-09-20 15:02:21 -04:00
update test for new media handling
This commit is contained in:
parent
902800de99
commit
6563f0cefb
1 changed files with 1 additions and 1 deletions
|
@ -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:
|
||||||
|
|
Loading…
Reference in a new issue