Home
last modified time | relevance | path

Searched refs:expect (Results 1 – 4 of 4) sorted by relevance

/unit/test/
H A Dtest_variables.py37 def check_dollar(location, expect): argument
110 def check_uri(uri, expect=None): argument
111 expect = uri if expect is None else expect
112 reg = r'^' + re.escape(expect) + r'$'
126 def check_host(host, expect=None): argument
127 expect = host if expect is None else expect
128 reg = r'^' + re.escape(expect) + r'$'
242 def check_vars(uri, expect): argument
243 reg = r'^' + re.escape(expect) + r'$'
274 def check_arg(url, expect=None): argument
[all …]
H A Dtest_return.py94 def check_location(location, expect=None): argument
95 if expect is None:
96 expect = location
102 assert self.get()['headers']['Location'] == expect
H A Dtest_tls_sni.py137 def check_cert(self, host, expect): argument
148 assert sock.getpeercert()['subject'][0][0][1] == expect
H A Dtest_access_log.py270 def check_format(format, expect, url='/'): argument
274 assert self.wait_for_record(expect) is not None, 'found'