Example #1
0
 def setUp(self):
     self.users = AccountFactory.create_batch(5)
     self.sites = SiteFactory.create_batch(3)
     self.subdomains = settings.SUBDOMAIN_URLCONFS
     self.languages = settings.LANGUAGES
     self.language_code = settings.LANGUAGE_CODE
     self.modeltranslation_default_language = \
         settings.MODELTRANSLATION_DEFAULT_LANGUAGE
     self.home = reverse('home')
Example #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, ))
Example #3
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,)
     )
Example #4
0
 def setUp(self):
     self.users = AccountFactory.create_batch(5)
Example #5
0
 def setUp(self):
     self.users = AccountFactory.create_batch(5)