Missed a datetime import needed for timedelta

pull/1/head
Raymond Yee 2012-03-12 15:55:14 -07:00
parent ca81252901
commit 29ff11af94
1 changed files with 2 additions and 1 deletions

View File

@ -23,6 +23,7 @@ import logging
import os
from decimal import Decimal as D
from regluit.utils.localdatetime import now
from datetime import timedelta
def setup_selenium():
# Set the display window for our xvfb
@ -278,7 +279,7 @@ class TransactionTest(TestCase):
w = Work()
w.save()
c = Campaign(target=D('1000.00'),deadline=now() + datetime.timedelta(days=180),work=w)
c = Campaign(target=D('1000.00'),deadline=now() + timedelta(days=180),work=w)
c.save()
t = Transaction()