def setUp(self):
     subsite = Subsite(name="test", url="/")
     subsite.save()
     app = Application(name="test", slug="test")
     app.save()
     self.app = app
     self.subsite = subsite
     self.factory = RequestFactory()
 def setUp(self):
     subsite = Subsite(name='test', url='/')
     subsite.save()
     app = Application(name='test', slug='test')
     app.save()
     self.app = app
     self.subsite = subsite
     self.factory = RequestFactory()
 def setUp(self):
     subsite = Subsite(name='test', url='/')
     subsite.save()
     app = Application(name='test', slug='test')
     app.save()
     self.app = app
     self.subsite = subsite
     self.factory = RequestFactory()
Exemple #4
0
 def setUp(self):
     site = DockitCMSSite()
     self.site = site
     
     self.factory = RequestFactory()
     
     app = Application(name='test', slug='test')
     app.save()
     self.application = app
Exemple #5
0
 def setUp(self):
     app = Application(name='test', slug='test')
     app.save()
     self.application = app
 def setUp(self):
     app = Application(name='test', slug='test')
     app.save()
     self.application = app