Exemplo n.º 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')
Exemplo n.º 2
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')
Exemplo n.º 3
0
 def tearDown(self):
     config.set_for_repo('haiti', deactivated=False)
     config.set_for_repo('japan', test_mode=False)
     ServerTestsBase.tearDown(self)
Exemplo n.º 4
0
 def tearDown(self):
     if self.filename:
         os.remove(self.filename)
     ServerTestsBase.tearDown(self)
Exemplo n.º 5
0
 def tearDown(self):
     os.remove(self.filename)
     ServerTestsBase.tearDown(self)
Exemplo n.º 6
0
 def tearDown(self):
     config.set_for_repo('haiti', deactivated=False)
     config.set_for_repo('japan', test_mode=False)
     ServerTestsBase.tearDown(self)