Ejemplo n.º 1
0
 def test_None_If_tooMany(self):
     products = [Product('PP234', 2), Product('PP235', 3), Product('PP236', 4), Product('PP237', 5)]
     server = MapServer(products)
     client = Client(server)
     prod = client.get_total_price(2)
     self.assertEqual(prod,None)