예제 #1
0
 def test_delete1(self):
     obj=Item()
     result = obj.delete_item("")
     self.assertFalse(result)
예제 #2
0
 def test_delete(self):
     obj=Item()
     result = obj.delete_item(30)
     self.assertTrue(result)