Home
last modified time | relevance | path

Searched refs:self (Results 1 – 25 of 97) sorted by relevance

1234

/unit/test/
H A Dtest_routing.py10 def setup_method(self): argument
24 def route(self, route): argument
45 self.get(
892 self.get(
903 self.get(
917 self.get(
927 self.get(
937 self.get(
952 self.get(
962 self.get(
[all …]
H A Dtest_php_application.py22 def check_opcache(self): argument
23 resp = self.get()
65 resp = self.post(
87 abs(self.date_to_sec_epoch(date) - self.sec_epoch()) < 5
160 resp = self.get()
177 self.get(
188 self.get(
199 self.get(
210 self.load('404')
275 resp = self.get(
[all …]
H A Dtest_node_application.py12 resp = self.get()
17 self.load('basic')
32 self.load('basic')
42 resp = self.post(
60 abs(self.date_to_sec_epoch(date) - self.sec_epoch()) < 5
108 self.load('404')
185 self.get(
232 self.post(
248 self.post(
283 self.get(
[all …]
H A Dtest_python_procman.py16 self.app_proc = 'applications/' + self.app_name + '/processes'
17 self.load('empty', self.app_name)
42 self.get()
51 self.get()
59 self.get()
79 self.get()
83 self.get()
98 self.get()
103 self.get()
111 self.get()
[all …]
H A Dtest_forwarded_header.py8 assert 'success' in self.conf(
43 def setup_method(self): argument
47 self.forwarded_header(
71 self.forwarded_header(
96 self.forwarded_header(
110 self.forwarded_header(
137 self.forwarded_header(
161 self.forwarded_header(
191 self.get_addr(
198 self.forwarded_header(
[all …]
H A Dtest_http_header.py11 resp = self.get(
27 resp = self.get(
43 resp = self.get(
59 resp = self.get(
75 resp = self.get(
157 self.get(
171 self.get(
185 self.get(
199 self.get(
213 self.post(
[all …]
H A Dtest_variables.py7 def setup_method(self): argument
8 assert 'success' in self.conf(
30 def conf_routes(self, routes): argument
33 def test_variables_method(self): argument
45 def test_variables_uri(self): argument
52 def test_variables_host(self): argument
84 self.get(
103 self.get(
138 def test_variables_many(self): argument
203 self.get(
[all …]
H A Dtest_python_basic.py21 def test_python_get_empty(self): argument
27 self.conf(self.conf_app, 'applications')
29 conf = self.conf_get()
61 assert 'success' in self.conf(self.conf_basic)
76 assert 'success' in self.conf(self.conf_basic)
86 assert 'success' in self.conf(self.conf_basic)
97 assert 'success' in self.conf(self.conf_basic)
109 def test_python_delete(self): argument
110 assert 'success' in self.conf(self.conf_basic)
118 assert 'success' in self.conf(self.conf_basic)
[all …]
H A Dtest_access_log.py11 def load(self, script): argument
31 self.load('mirror')
56 self.load('empty')
58 self.http(
91 self.load('empty')
107 self.load('empty')
125 self.load('empty')
127 self.get(
143 self.get(
254 self.get()
[all …]
H A Dtest_php_basic.py21 def test_php_get_applications(self): argument
22 assert 'success' in self.conf(self.conf_app, 'applications')
24 conf = self.conf_get()
58 assert 'success' in self.conf(self.conf_basic)
73 assert 'success' in self.conf(self.conf_basic)
83 assert 'success' in self.conf(self.conf_basic)
94 assert 'success' in self.conf(self.conf_basic)
106 def test_php_delete(self): argument
107 assert 'success' in self.conf(self.conf_basic)
115 assert 'success' in self.conf(self.conf_basic)
[all …]
H A Dtest_tls.py121 self.add_tls()
130 self.add_tls()
132 self.get_ssl()
152 self.add_tls()
163 self.add_tls()
175 self.add_tls()
202 self.add_tls()
300 self.req('int')
440 self.ca()
460 self.ca()
[all …]
H A Dtest_client_ip.py8 def client_ip(self, options): argument
9 assert 'success' in self.conf(
37 return self.get(
44 def setup_method(self): argument
45 self.load('client_ip')
47 def test_client_ip_single_ip(self): argument
48 self.client_ip(
75 def test_client_ip_ipv4(self): argument
88 def test_client_ip_ipv6(self): argument
114 self.client_ip(
[all …]
H A Dtest_node_websockets.py26 self.ws.frame_write(sock, self.ws.OP_CLOSE, self.ws.serialize_close())
71 self.ws.frame_write(sock, self.ws.OP_TEXT, message)
76 self.ws.frame_write(sock, self.ws.OP_TEXT, message)
185 self, argument
1090 self.ws.frame_write(sock, self.ws.OP_CLOSE, self.ws.serialize_close())
1091 self.ws.frame_write(sock, self.ws.OP_CLOSE, self.ws.serialize_close())
1099 self.ws.frame_write(sock, self.ws.OP_CLOSE, self.ws.serialize_close())
1111 self.ws.frame_write(sock, self.ws.OP_CLOSE, self.ws.serialize_close())
1124 self.ws.frame_write(sock, self.ws.OP_CLOSE, self.ws.serialize_close())
1138 self.ws.frame_write(sock, self.ws.OP_CLOSE, self.ws.serialize_close())
[all …]
H A Dtest_java_websockets.py26 self.ws.frame_write(sock, self.ws.OP_CLOSE, self.ws.serialize_close())
71 self.ws.frame_write(sock, self.ws.OP_TEXT, message)
76 self.ws.frame_write(sock, self.ws.OP_TEXT, message)
166 self, argument
1071 self.ws.frame_write(sock, self.ws.OP_CLOSE, self.ws.serialize_close())
1072 self.ws.frame_write(sock, self.ws.OP_CLOSE, self.ws.serialize_close())
1080 self.ws.frame_write(sock, self.ws.OP_CLOSE, self.ws.serialize_close())
1092 self.ws.frame_write(sock, self.ws.OP_CLOSE, self.ws.serialize_close())
1105 self.ws.frame_write(sock, self.ws.OP_CLOSE, self.ws.serialize_close())
1119 self.ws.frame_write(sock, self.ws.OP_CLOSE, self.ws.serialize_close())
[all …]
H A Dtest_perl_application.py10 def test_perl_application(self): argument
11 self.load('variables')
15 resp = self.post(
36 abs(self.date_to_sec_epoch(date) - self.sec_epoch()) < 5
78 resp = self.get()
164 self.load('variables')
209 resp = self.post(
239 resp = self.get()
247 resp = self.get()
253 self.load('threads')
[all …]
H A Dtest_ruby_application.py11 def test_ruby_application(self): argument
12 self.load('variables')
16 resp = self.post(
37 abs(self.date_to_sec_epoch(date) - self.sec_epoch()) < 5
81 resp = self.get()
213 self.load('at_exit')
224 self.load('encoding')
318 self.load('mirror')
341 self.load('mirror')
366 resp = self.get()
[all …]
H A Dtest_asgi_websockets.py32 self.ws.frame_write(sock, self.ws.OP_CLOSE, self.ws.serialize_close())
92 self.ws.frame_write(sock, self.ws.OP_TEXT, message)
97 self.ws.frame_write(sock, self.ws.OP_TEXT, message)
239 self, argument
1144 self.ws.frame_write(sock, self.ws.OP_CLOSE, self.ws.serialize_close())
1145 self.ws.frame_write(sock, self.ws.OP_CLOSE, self.ws.serialize_close())
1153 self.ws.frame_write(sock, self.ws.OP_CLOSE, self.ws.serialize_close())
1165 self.ws.frame_write(sock, self.ws.OP_CLOSE, self.ws.serialize_close())
1178 self.ws.frame_write(sock, self.ws.OP_CLOSE, self.ws.serialize_close())
1192 self.ws.frame_write(sock, self.ws.OP_CLOSE, self.ws.serialize_close())
[all …]
H A Dtest_configuration.py11 def try_addr(self, addr): argument
12 return self.conf(
20 def test_json_empty(self): argument
23 def test_json_leading_zero(self): argument
26 def test_json_unicode(self): argument
27 assert 'success' in self.conf(
50 def test_json_unicode_2(self): argument
51 assert 'success' in self.conf(
80 def test_json_utf8_bom(self): argument
239 def test_listeners_addr(self): argument
[all …]
H A Dtest_static_types.py18 self._load_conf(
42 self.action_update(
47 self.action_update(
56 self.action_update(
62 self.action_update(
69 self.action_update(
76 self.action_update(
87 self.action_update(
98 self.action_update(
106 self.action_update(
[all …]
H A Dtest_python_application.py15 self.load('variables')
19 resp = self.http(
45 abs(self.date_to_sec_epoch(date) - self.sec_epoch()) < 5
263 self.get()
272 self.get(
422 self.get()
461 self.get()
468 self.get()
477 self.get()
535 self.get(
[all …]
H A Dtest_static_chroot.py12 def setup_method_fixture(self, temp_dir): argument
19 self._load_conf(
26 def update_action(self, share, chroot): argument
27 return self.conf(
32 def get_custom(self, uri, host): argument
82 assert self.get(url=self.test_path)['status'] == 200, 'empty relative'
92 assert self.get(url=self.test_path)['status'] == 200, 'relative share'
95 assert self.get(url=self.test_path)['status'] == 200, 'relative'
150 assert 'error' in self.conf(
154 assert 'error' in self.conf(
[all …]
H A Dtest_python_environment.py8 self.load('environment')
15 self.load('environment')
34 self.get(
47 self.get(
63 self.get(
76 self.get(
89 self.conf(
95 self.get(
108 self.get(
134 self.get(
[all …]
H A Dtest_asgi_application.py18 self.load('variables')
22 resp = self.http(
45 abs(self.date_to_sec_epoch(date) - self.sec_epoch()) < 5
64 self.load('empty')
116 resp = self.get()
131 self.load('empty')
258 self.load('empty')
294 resp = self.http(
308 self.get(
395 resp = self.get(
[all …]
H A Dtest_tls_sni.py11 def setup_method(self): argument
12 self._load_conf(
23 def add_tls(self, cert='default'): argument
24 assert 'success' in self.conf(
29 def remove_tls(self): argument
32 def generate_ca_conf(self): argument
94 self.generate_ca_conf()
129 self.load_certs(bundles)
131 def load_certs(self, bundles): argument
138 resp, sock = self.get_ssl(
[all …]
H A Dtest_java_application.py48 headers = self.get(
60 self.load('filter')
131 resp = self.get(
154 resp = self.get(
168 resp = self.get(
180 resp = self.get(
193 resp = self.get(
204 resp = self.get(
220 resp = self.get(
266 self.load('jsp')
[all …]

1234