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)
 def test_price_wrong(self):
     config.product_exists(self.get_plans(), 'mozilla-concrete-brick', 1)
 def test_plan_ok(self):
     config.product_exists(self.get_plans(), 'mozilla-concrete-brick', 10)
 def test_product_missing(self):
     config.product_exists(self.get_plans(), 'nope', 1)