Repository : http://git.fedorahosted.org/cgit/fedocal.git
On branch : master
commit cfee3b06ad609ab8a724ed85fcb6c4256c604e84 Author: Pierre-Yves Chibon pingou@pingoured.fr Date: Mon Nov 5 18:46:50 2012 +0100
Retrieve TODAY from tests and thus adapt the imports
fedocal/tests/test_meeting.py | 6 ++---- 1 files changed, 2 insertions(+), 4 deletions(-)
diff --git a/fedocal/tests/test_meeting.py b/fedocal/tests/test_meeting.py index b598392..ebea2d5 100644 --- a/fedocal/tests/test_meeting.py +++ b/fedocal/tests/test_meeting.py @@ -43,12 +43,10 @@ from sqlalchemy.exc import IntegrityError sys.path.insert(0, os.path.join(os.path.dirname( os.path.abspath(__file__)), '..'))
-from fedocallib import model, get_start_week -from tests import Modeltests +from fedocallib import model +from tests import Modeltests, TODAY from test_calendar import Calendartests
-TODAY = get_start_week(date.today().year, date.today().month, - date.today().day) + timedelta(days=2)
class Meetingtests(Modeltests): """ Meeting tests. """