From b436c46b18914d39d851240a585d89f04f8bff86 Mon Sep 17 00:00:00 2001 From: Damien Elmes Date: Sun, 9 Sep 2012 06:32:03 +0900 Subject: [PATCH] fix unit test --- tests/test_importing.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_importing.py b/tests/test_importing.py index 457036cf5..83b66ea91 100644 --- a/tests/test_importing.py +++ b/tests/test_importing.py @@ -57,7 +57,7 @@ def test_anki1(): # get the deck path to import tmp = getUpgradeDeckPath() # make sure media is imported properly through the upgrade - mdir = tmp.replace(".anki", ".media") + mdir = tmp.replace(".anki2", ".media") if not os.path.exists(mdir): os.mkdir(mdir) open(os.path.join(mdir, "foo.jpg"), "w").write("foo")