Repository :
http://git.fedorahosted.org/cgit/fedocal.git
On branch : master
---------------------------------------------------------------
commit 46e93ab785d92956104f45680bb6508dad4dceba
Author: Pierre-Yves Chibon <pingou(a)pingoured.fr>
Date: Sun Feb 24 16:06:12 2013 +0100
Fix imports
---------------------------------------------------------------
tests/__init__.py | 2 +-
tests/test_calendar.py | 2 +-
tests/test_fedocallib.py | 6 +++---
3 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/tests/__init__.py b/tests/__init__.py
index 2c9a3ab..7c3cb54 100644
--- a/tests/__init__.py
+++ b/tests/__init__.py
@@ -44,7 +44,7 @@ from sqlalchemy.orm import scoped_session
sys.path.insert(0, os.path.join(os.path.dirname(
os.path.abspath(__file__)), '..'))
-from fedocallib import model, get_start_week
+from fedocal.fedocallib import model, get_start_week
DB_PATH = '%s/test.db' % (os.path.dirname(
os.path.abspath(__file__)))
diff --git a/tests/test_calendar.py b/tests/test_calendar.py
index f3ea640..c6d6779 100644
--- a/tests/test_calendar.py
+++ b/tests/test_calendar.py
@@ -37,7 +37,7 @@ import os
sys.path.insert(0, os.path.join(os.path.dirname(
os.path.abspath(__file__)), '..'))
-from fedocallib import model
+from fedocal.fedocallib import model
from tests import Modeltests
diff --git a/tests/test_fedocallib.py b/tests/test_fedocallib.py
index 6b1d71e..e547252 100644
--- a/tests/test_fedocallib.py
+++ b/tests/test_fedocallib.py
@@ -46,9 +46,9 @@ from sqlalchemy.exc import IntegrityError
sys.path.insert(0, os.path.join(os.path.dirname(
os.path.abspath(__file__)), '..'))
-import fedocallib
-from fedocallib import model
-from fedocallib.exceptions import UserNotAllowed, InvalidMeeting
+import fedocal.fedocallib as fedocallib
+from fedocal.fedocallib import model
+from fedocal.fedocallib.exceptions import UserNotAllowed, InvalidMeeting
from tests import Modeltests, TODAY, FakeUser