示例#1
0
 def setUp(self):
     # modify django.conf.settings the way we need
     self.old_settings = TestSettings()
     # create all the sites in the test database
     for site in sites:
         site.save()