def setUp(self): self.name = "Dinner for one" self.value = 99.9 self.date = "12-31" self.listing = Listing.from_elements( [dict(name=self.name, value=self.value, date=self.date, eid=0)], default_category=CategoryEntry.DEFAULT_NAME)
def setUp(self): self.name = "Dinner for one" self.value = 99.9 self.date = "12-31" self.listing = Listing.from_elements( [dict(name=self.name, value=self.value, date=self.date, eid=0)])