Fix the test stripe to suppor trial properties.

This commit is contained in:
jakedt 2014-04-25 14:29:08 -04:00
parent 3d564b02bd
commit 44e514f49f

View file

@ -133,6 +133,8 @@ class FakeStripe(object):
'plan': FAKE_PLAN,
'current_period_start': timegm(datetime.now().utctimetuple()),
'current_period_end': timegm((datetime.now() + timedelta(days=30)).utctimetuple()),
'trial_start': timegm(datetime.now().utctimetuple()),
'trial_end': timegm((datetime.now() + timedelta(days=30)).utctimetuple()),
})
FAKE_CARD = AttrDict({