mirror of
https://github.com/ankitects/anki.git
synced 2025-11-15 00:57:13 -05:00
use .anki ext in unit tests
This commit is contained in:
parent
fd6ea460ae
commit
34879181d2
1 changed files with 2 additions and 2 deletions
|
|
@ -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:
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue