Example #1
0
 def test_update1(self):
     obj=Item()
     result = obj.update_item("","Pizza","Large","600")
     self.assertFalse(result)
Example #2
0
 def test_update(self):
     obj=Item()
     result = obj.update_item(10,"Pizza","Large","600")
     self.assertTrue(result)