def test_wall(self): error_msg = 'WallAnt isn\'t parameterized quite right' self.assertIs(4, ants.WallAnt().armor, error_msg) self.assertIs(4, ants.WallAnt.food_cost, error_msg)
def test_wall(self): error_msg = "WallAnt isn't parameterized quite right" self.assertEqual(4, ants.WallAnt().armor, error_msg) self.assertEqual(4, ants.WallAnt.food_cost, error_msg)