def test_delivery_tax_existing_district(self): database.add_district('Lulin', 4) self.assertEqual((True, 4), database.delivery_tax('Lulin'))
def add_district(): district = input("Which district you want to add: ") tax = input("What should be the delivery tax? ") database.add_district(district, tax)