Exemple #1
0
    def tearDown(self):
        ServerTestsBase.tearDown(self)

        # Restore the configuration settings.
        setup.setup_repos()
        setup.setup_configs()

        # Flush the configuration cache.
        config.cache.enable(False)
        self.go('/haiti?lang=en&flush=config')
    def tearDown(self):
        ServerTestsBase.tearDown(self)

        # Restore the configuration settings.
        setup.setup_repos()
        setup.setup_configs()

        # Flush the configuration cache.
        config.cache.enable(False)
        self.go('/haiti?lang=en&flush=config')
Exemple #3
0
 def tearDown(self):
     config.set_for_repo('haiti', deactivated=False)
     config.set_for_repo('japan', test_mode=False)
     ServerTestsBase.tearDown(self)
Exemple #4
0
 def tearDown(self):
     if self.filename:
         os.remove(self.filename)
     ServerTestsBase.tearDown(self)
 def tearDown(self):
     os.remove(self.filename)
     ServerTestsBase.tearDown(self)
 def tearDown(self):
     config.set_for_repo('haiti', deactivated=False)
     config.set_for_repo('japan', test_mode=False)
     ServerTestsBase.tearDown(self)