Example #1
0
 def setUp(self):
     self.date = datetime.date(year=2014, month=5, day=1)
     self.extracost = ExtraCost.objects.create(
         pricing_venture=get_or_create_venture(),
         type=get_or_create_extra_cost_type(),
         monthly_cost=3100,
     )
Example #2
0
 def setUp(self):
     self.date = datetime.date(year=2014, month=5, day=1)
     self.extracost = ExtraCost.objects.create(
         pricing_venture=get_or_create_venture(),
         type=get_or_create_extra_cost_type(),
         monthly_cost=3100,
     )
 def setUp(self):
     self.start = datetime.date(year=2014, month=5, day=1)
     self.end = datetime.date(year=2014, month=5, day=2)
     self.venture = get_or_create_venture()
     self.type = get_or_create_extra_cost_type()
     self.value = D(100)
     self.daily_extra_cost = get_or_create_daily_extra_cost(
         venture=self.venture,
         type=self.type,
         value=self.value,
     )
Example #4
0
 def setUp(self):
     self.start = datetime.date(year=2014, month=5, day=1)
     self.end = datetime.date(year=2014, month=5, day=2)
     self.venture = get_or_create_venture()
     self.type = get_or_create_extra_cost_type()
     self.value = D(100)
     self.daily_extra_cost = get_or_create_daily_extra_cost(
         venture=self.venture,
         type=self.type,
         value=self.value,
     )
Example #5
0
 def setUp(self):
     self.start = datetime.date.today()
     self.end = datetime.date.today() + datetime.timedelta(days=1)
     self.venture = get_or_create_venture()
     self.type = get_or_create_extra_cost_type()
     self.extra_cost = get_or_create_extra_cost(
         mode=1,
         start=self.start,
         end=self.end,
         pricing_venture=self.venture,
         type=self.type,
     )
     self.value = D(100)
     self.daily_extra_cost = get_or_create_daily_extra_cost(
         venture=self.venture,
         type=self.type,
         value=self.value,
     )
Example #6
0
 def setUp(self):
     self.start = datetime.date.today()
     self.end = datetime.date.today() + datetime.timedelta(days=1)
     self.venture = get_or_create_venture()
     self.type = get_or_create_extra_cost_type()
     self.extra_cost = get_or_create_extra_cost(
         mode=1,
         start=self.start,
         end=self.end,
         pricing_venture=self.venture,
         type=self.type,
     )
     self.value = D(100)
     self.daily_extra_cost = get_or_create_daily_extra_cost(
         venture=self.venture,
         type=self.type,
         value=self.value,
     )