Permalink
Browse files

fix test for new activation setup

  • Loading branch information...
1 parent a9cc66c commit ef28b7b5b613a36f962f85521815f7dc41517bed @spulec committed Mar 24, 2013
Showing with 2 additions and 0 deletions.
  1. +2 −0 tests/test_operations.py
View
@@ -3,6 +3,7 @@
from dateutil.relativedelta import relativedelta
+@freeze_time("2012-01-14")
def test_addition():
now = datetime.datetime.now()
later = now + datetime.timedelta(days=1)
@@ -17,6 +18,7 @@ def test_addition():
assert isinstance(other_tomorrow, datetime.date)
+@freeze_time("2012-01-14")
def test_subtraction():
now = datetime.datetime.now()
before = now - datetime.timedelta(days=1)

0 comments on commit ef28b7b

Please sign in to comment.