Beispiel #1
0
 def test_billing_day_of_month(self):
     plan = Plan(None, {
         'billing_day_of_month': 1,
         'id': 'day',
         'price': '1',
         'trial_period': None
     })
     config.product_exists(self.get_plans(plan), 'day', 1)
Beispiel #2
0
 def test_price_wrong(self):
     config.product_exists(self.get_plans(), 'mozilla-concrete-brick', 1)
Beispiel #3
0
 def test_plan_ok(self):
     config.product_exists(self.get_plans(), 'mozilla-concrete-brick', 10)
Beispiel #4
0
 def test_product_missing(self):
     config.product_exists(self.get_plans(), 'nope', 1)