Searched refs:expect (Results 1 – 11 of 11) sorted by path
/unit/docs/ |
H A D | unit-openapi.yaml | 6115 description: "Defines the HTTP header fields to expect in the request; 6130 description: "Defines the relevant HTTP header field to expect in the
|
/unit/src/wasm-wasi-component/ |
H A D | build.rs | 23 .expect("Unable to generate bindings"); in main() 32 .expect("Couldn't write bindings!"); in main()
|
/unit/src/wasm-wasi-component/src/ |
H A D | lib.rs | 234 state.handle(msg).await.expect("failed to handle request") in run()
|
/unit/test/ |
H A D | test_access_log.py | 291 def check_format(log_format, expect, url='/'): argument 295 assert wait_for_record(expect, 'access.log') is not None, 'found'
|
H A D | test_java_application.py | 79 def check_header(header, expect): argument 81 assert len(values) == len(expect) 82 assert set(values) == set(expect)
|
H A D | test_njs_modules.py | 9 def njs_script_load(module, name=None, expect='success'): argument 14 assert expect in client.conf(script.read(), f'/js_modules/{name}') 56 njs_script_load('global_this', 'next', expect='error') 104 njs_script_load('invalid', expect='error')
|
H A D | test_return.py | 99 def check_location(location, expect=None): argument 100 if expect is None: 101 expect = location 107 assert client.get()['headers']['Location'] == expect
|
H A D | test_rewrite.py | 113 def check_location(rewrite, expect): argument 128 assert client.get()['headers']['Location'] == expect
|
H A D | test_settings.py | 35 def header_value(size, expect=200): argument 37 assert client.get(headers=headers)['status'] == expect 57 def big_headers(headers_num, expect=200): argument 63 assert client.get(headers=headers)['status'] == expect
|
H A D | test_tls_sni.py | 32 def check_cert(host, expect, ctx): argument 44 assert sock.getpeercert()['subject'][0][0][1] == expect
|
H A D | test_variables.py | 38 def check_dollar(location, expect): argument 43 assert client.get()['headers']['Location'] == expect 115 def check_uri(uri, expect=None): argument 116 expect = uri if expect is None else expect 153 def check_host(host, expect=None): argument 154 expect = host if expect is None else expect 294 def check_vars(uri, expect): argument 328 def check_arg(url, expect=None): argument 329 expect = url if expect is None else expect
|