use .anki ext in unit tests

This commit is contained in:
Damien Elmes 2009-06-25 14:57:14 +09:00
parent fd6ea460ae
commit 34879181d2

View file

@ -25,7 +25,7 @@ def test_new():
def test_attachNew(): def test_attachNew():
global newPath, newModified global newPath, newModified
path = "/tmp/test_attachNew" path = "/tmp/test_attachNew.anki"
try: try:
os.unlink(path) os.unlink(path)
except OSError: except OSError:
@ -56,7 +56,7 @@ def test_attachReadOnly():
os.unlink(newPath) os.unlink(newPath)
def test_saveAs(): def test_saveAs():
path = "/tmp/test_saveAs" path = "/tmp/test_saveAs.anki"
try: try:
os.unlink(path) os.unlink(path)
except OSError: except OSError: