コード例 #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')
コード例 #2
0
ファイル: config_tests.py プロジェクト: kspviswa/personfinder
    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')
コード例 #3
0
 def tearDown(self):
     config.set_for_repo('haiti', deactivated=False)
     config.set_for_repo('japan', test_mode=False)
     ServerTestsBase.tearDown(self)
コード例 #4
0
 def tearDown(self):
     if self.filename:
         os.remove(self.filename)
     ServerTestsBase.tearDown(self)
コード例 #5
0
 def tearDown(self):
     os.remove(self.filename)
     ServerTestsBase.tearDown(self)
コード例 #6
0
 def tearDown(self):
     config.set_for_repo('haiti', deactivated=False)
     config.set_for_repo('japan', test_mode=False)
     ServerTestsBase.tearDown(self)