Home
last modified time | relevance | path

Searched refs:sock_type (Results 1 – 15 of 15) sorted by relevance

/unit/test/
H A Dtest_unix_abstract.py36 self.get(sock_type='unix', addr=addr)['status'] == 200
41 self.get(sock_type='unix', addr=addr)['status'] == 200
46 assert self.get(sock_type='unix', addr=addr)['status'] == 200, 'unix'
49 def get_xff(xff, sock_type='ipv4'): argument
55 (addr, port) = address[sock_type]
58 sock_type=sock_type,
H A Dtest_client_ip.py29 def get_xff(self, xff, sock_type='ipv4'): argument
35 (addr, port) = address[sock_type]
38 sock_type=sock_type,
54 self.get(sock_type='ipv6', port=7082)['body'] == '::1'
64 self.get(sock_type='ipv6', port=7082)['body'] == '::1'
H A Dtest_forwarded_header.py22 def get_fwd(self, sock_type='ipv4', xff=None, xfp=None): argument
23 port = 7081 if sock_type == 'ipv4' else 7082
33 return self.get(sock_type=sock_type, port=port, headers=headers)[
H A Dtest_routing.py1572 return self.get(sock_type='ipv6', port=7081)
1632 assert self.get(sock_type='ipv6')['status'] == 200, 'exact'
1648 assert self.get(sock_type='ipv6')['status'] == 200, 'range'
1681 return self.get(sock_type='ipv6', port=7081)
1713 assert self.get(sock_type='ipv6')['status'] == 200, '128'
1721 assert self.get(sock_type='ipv6')['status'] == 200, '127'
1725 assert self.get(sock_type='ipv6')['status'] == 200, '32'
1729 assert self.get(sock_type='ipv6')['status'] == 200, '1'
1733 assert self.get(sock_type='ipv6')['status'] == 200, '0'
1749 self.get(sock_type='unix', addr=addr)['status'] == 200
[all …]
H A Dtest_asgi_application_unix_abstract.py23 assert self.get(sock_type='unix', addr=addr)['status'] == 200
H A Dtest_access_log.py97 self.get(sock_type='ipv6')
115 self.get(sock_type='unix', addr=addr)
H A Dconftest.py531 sock_type='unix',
543 http.get(url='/certificates', sock_type='unix', addr=sock)['body']
552 sock_type='unix',
H A Dtest_static.py348 sock_type='unix',
H A Dtest_asgi_application.py71 assert self.get(sock_type='unix', addr=addr)['status'] == 200
H A Dtest_variables.py157 assert self.get(sock_type='ipv6')['status'] == 200
H A Dtest_php_application.py657 sock_type='unix',
/unit/test/unit/
H A Dhttp.py15 sock_type = kwargs.get('sock_type', 'ipv4')
28 addr = '::1' if sock_type == 'ipv6' else '127.0.0.1'
39 sock = socket.socket(sock_types[sock_type], socket.SOCK_STREAM)
42 sock_type == sock_types['ipv4']
43 or sock_type == sock_types['ipv6']
51 connect_args = addr if sock_type == 'unix' else (addr, port)
/unit/test/unit/check/
H A Dunix_abstract.py14 sock_type='unix',
H A Dchroot.py14 sock_type='unix',
H A Disolation.py135 sock_type='unix',