def test_update_extra_cost_calculate_price(self): update_extra_cost(self.extracost, self.date) self.assertEqual(100, DailyExtraCost.objects.all()[0].value)
def test_update_extra_cost(self): update_extra_cost(self.extracost, self.date) self.assertEqual(1, ExtraCost.objects.all().count())