예제 #1
0
 def setUp(self):
     self.users = Account.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.home = reverse('home')
예제 #2
0
 def setUp(self):
     self.users = Account.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')