Ejemplo n.º 1
0
 def setUp(self):
     self.users = AccountFactory.create_batch(2)
     self.follow_template = 'interactions/partials/_follow.html'
     self.star_template = 'interactions/partials/_star.html'
     self.follow_string = 'form class="interaction follow"'
     self.star_string = 'form class="interaction star"'
     self.entity = EntityFactory.create()
     self.budget = BudgetFactory.create()
     self.actual = ActualFactory.create()
     self.entityview = reverse('entity_detail', args=(self.entity.slug, ))
     self.budgetview = reverse('budget_detail', args=(self.budget.uuid, ))
     self.actualview = reverse('actual_detail', args=(self.actual.uuid, ))
Ejemplo n.º 2
0
 def setUp(self):
     self.users = AccountFactory.create_batch(2)
     self.follow_template = 'interactions/partials/_follow.html'
     self.star_template = 'interactions/partials/_star.html'
     self.follow_string = 'form class="interaction follow"'
     self.star_string = 'form class="interaction star"'
     self.entity = EntityFactory.create()
     self.budget = BudgetFactory.create()
     self.actual = ActualFactory.create()
     self.entityview = reverse(
             'entity_detail',
             args=(self.entity.slug,)
     )
     self.budgetview = reverse(
             'budget_detail',
             args=(self.budget.uuid,)
     )
     self.actualview = reverse(
             'actual_detail',
             args=(self.actual.uuid,)
     )
Ejemplo n.º 3
0
 def setUp(self):
     self.budget = BudgetFactory.create()
     self.actual = ActualFactory.create()
Ejemplo n.º 4
0
 def setUp(self):
     self.budget = BudgetFactory.create()
     self.actual = ActualFactory.create()