def setUp(self): super(TestSubprocessRun, self).setUp() with open('hello.txt', 'w') as f: f.write('Hello, world!\n') https_sock, _ = reserve_port_for_ip('127.0.0.1', 9443) self.https_socks = [https_sock] ssl._https_verify_certificates(enable=False) yield test_tls.commit_valid_config()
def setUp(self): super(TestSubprocessRun, self).setUp() with open('hello.txt', 'w') as f: f.write('Hello, world!\n') https_sock, _ = reserve_port_for_ip('127.0.0.1', 9443) self.https_socks = [https_sock] ssl._create_default_https_context = ssl._create_unverified_context yield test_tls.commit_valid_config()
def setUp(self): super(TestSubprocessRun, self).setUp() with open('hello.txt', 'w') as f: f.write('Hello, world!\n') https_sock, _ = reserve_port_for_ip('127.0.0.1', 9443) self.https_socks = [https_sock] ssl._create_default_https_context = ssl._create_unverified_context yield test_tls.commit_valid_config()
def setUp(self): super(TestProcessSupervisor, self).setUp() yield test_tls.commit_valid_config()
def setUp(self): super(TestProcessSupervisor, self).setUp() return test_tls.commit_valid_config()