Home
last modified time | relevance | path

Searched refs:self (Results 1 – 25 of 92) 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')
284 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')
194 self.get(
241 self.post(
257 self.post(
292 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_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_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_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_access_log.py11 def load(self, script): argument
22 self.load('mirror')
41 resp = self.post(
56 self.load('empty')
58 self.http(
91 self.load('empty')
107 self.load('empty')
127 self.get(
143 self.get(
254 self.get()
[all …]
H A Dtest_tls.py122 self.add_tls()
131 self.add_tls()
133 self.get_ssl()
153 self.add_tls()
164 self.add_tls()
176 self.add_tls()
203 self.add_tls()
301 self.req('int')
441 self.ca()
461 self.ca()
[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_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_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_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')
318 self.load('mirror')
341 self.load('mirror')
360 resp = self.post(
375 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_client_ip.py7 def client_ip(self, options): argument
8 assert 'success' in self.conf(
22 def get_xff(self, xff, sock_type='ipv4'): argument
25 return self.get(
31 def setup_method(self): argument
32 self.load('client_ip')
35 self.client_ip(
62 def test_settings_client_ip_ipv4(self): argument
89 self.client_ip(
122 assert 'error' in self.conf(
[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_configuration.py10 def try_addr(self, addr): argument
11 return self.conf(
19 def test_json_empty(self): argument
22 def test_json_leading_zero(self): argument
25 def test_json_unicode(self): argument
26 assert 'success' in self.conf(
49 def test_json_unicode_2(self): argument
50 assert 'success' in self.conf(
79 def test_json_utf8_bom(self): argument
229 def test_listeners_addr(self): argument
[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
299 self.get()
308 self.get(
458 self.get()
497 self.get()
504 self.get()
513 self.get()
571 self.get(
[all …]
H A Dtest_static_chroot.py20 self._load_conf(
28 return self.conf(
33 def get_custom(self, uri, host): argument
42 assert 'success' in self.conf(
55 assert 'success' in self.conf(
69 assert 'success' in self.conf(
110 self.get(url=self.test_path)['status'] == 200
129 assert self.get(url=self.test_path)['status'] == 200, 'relative share'
136 assert self.get(url=self.test_path)['status'] == 200, 'relative'
214 assert 'error' in self.conf(
[all …]
H A Dtest_variables.py7 def setup_method(self): argument
8 assert 'success' in self.conf(
24 def conf_routes(self, routes): argument
27 def test_variables_method(self): argument
31 def test_variables_uri(self): argument
38 def test_variables_host(self): argument
56 def test_variables_many(self): argument
73 def test_variables_replace(self): argument
88 def test_variables_upstream(self): argument
103 def test_variables_empty(self): argument
[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_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 …]
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
106 resp = self.get()
121 self.load('empty')
153 resp = self.post(
185 resp = self.post(
321 resp = self.http(
335 self.get(
422 resp = self.get(
[all …]
H A Dtest_static.py16 def setup_method(self): argument
30 self._load_conf(
56 assert 'success' in self.conf(
63 assert 'success' in self.conf(
89 def test_static_index(self): argument
128 def test_static_redirect(self): argument
129 resp = self.get(url='/dir')
218 def test_static_method(self): argument
219 resp = self.head()
227 def test_static_path(self): argument
[all …]

1234