Repository :
http://git.fedorahosted.org/cgit/fedocal.git
On branch : master
---------------------------------------------------------------
commit ee0f72475bea848cee69686c8716c058544cdfb0
Author: Pierre-Yves Chibon <pingou(a)pingoured.fr>
Date: Sun Feb 24 14:35:55 2013 +0100
Fix the running of the tests after having moved them
---------------------------------------------------------------
run_tests.sh | 2 +-
tests/test_flask.py | 2 +-
tests/test_flask_api.py | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/run_tests.sh b/run_tests.sh
index 06434b8..639cb3e 100755
--- a/run_tests.sh
+++ b/run_tests.sh
@@ -1,2 +1,2 @@
#!/bin/bash
-FEDOCAL_CONFIG=tests/fedocal_test.cfg PYTHONPATH=fedocal nosetests --with-coverage
--cover-erase --cover-package=fedocal $*
+FEDOCAL_CONFIG=../tests/fedocal_test.cfg PYTHONPATH=fedocal nosetests --with-coverage
--cover-erase --cover-package=fedocal $*
diff --git a/tests/test_flask.py b/tests/test_flask.py
index ba4525a..eb05dce 100644
--- a/tests/test_flask.py
+++ b/tests/test_flask.py
@@ -42,7 +42,7 @@ sys.path.insert(0, os.path.join(os.path.dirname(
import fedocal
import fedocal.fedocallib as fedocallib
-from fedocal.tests import Modeltests, DB_PATH, FakeUser
+from tests import Modeltests, DB_PATH, FakeUser
# pylint: disable=E1103
diff --git a/tests/test_flask_api.py b/tests/test_flask_api.py
index 9f4fb7e..93a4daf 100644
--- a/tests/test_flask_api.py
+++ b/tests/test_flask_api.py
@@ -41,7 +41,7 @@ sys.path.insert(0, os.path.join(os.path.dirname(
import fedocal
import fedocal.fedocallib as fedocallib
-from fedocal.tests import Modeltests, DB_PATH, TODAY
+from tests import Modeltests, DB_PATH, TODAY
# pylint: disable=E1103