Beispiel #1
0
 def setUp(self):
     self.price = prices.Unavailable()
 def pricing_policy(self, product, stockrecord):
     if product == new_product:
         return prices.Unavailable()
     return super().pricing_policy(product, stockrecord)