예제 #1
0
def setup_module(module):
    print("setup_module: %s" % module.__name__)
    TestEnv.initv1()
    TestEnv.check_acme()
    TestEnv.httpd_error_log_clear()
    TestEnv.APACHE_CONF_SRC = "data/test_drive"
    assert TestEnv.apache_restart() == 0
예제 #2
0
def setup_module(module):
    print("setup_module    module:%s" % module.__name__)
    TestEnv.init()
    TestEnv.httpd_error_log_clear()
    TestEnv.clear_store()
예제 #3
0
 def setup_method(self, method):
     print("setup_method: %s" % method.__name__)
     TestEnv.httpd_error_log_clear()
     TestEnv.clear_store()
     self.test_domain = TestEnv.get_method_domain(method)