Lines Matching refs:f

56         url = f'https://{env.authority_for(env.domain1, proto)}/curltest/sslinfo'
58 assert r.json['HTTPS'] == 'on', f'{r.json}'
59 assert 'SSL_SESSION_ID' in r.json, f'{r.json}'
60 assert 'SSL_SESSION_RESUMED' in r.json, f'{r.json}'
61 assert r.json['SSL_SESSION_RESUMED'] == 'Initial', f'{r.json}'
68 xargs = ['--sessionid', '--tls-max', tls_max, f'--tlsv{tls_max}']
84 urln = f'https://{env.authority_for(env.domain1, proto)}/curltest/sslinfo?'\
85 f'id=[0-{count-1}]&close'
95 with open(dfile) as f:
96 djson = json.load(f)
97 assert djson['HTTPS'] == 'on', f'{i}: {djson}'
99 assert djson['SSL_SESSION_RESUMED'] == 'Initial', f'{i}: {djson}\n{r.dump_logs()}'
101 assert djson['SSL_SESSION_RESUMED'] == exp_resumed, f'{i}: {djson}\n{r.dump_logs()}'
109 domain = f'{env.domain1}.'
110 url = f'https://{env.authority_for(domain, proto)}/curltest/sslinfo'
112 assert r.exit_code == 0, f'{r}'
113 assert r.json, f'{r}'
116 assert r.json['SSL_TLS_SNI'] == env.domain1, f'{r.json}'
124 domain = f'{env.domain1}..'
125 url = f'https://{env.authority_for(domain, proto)}/curltest/sslinfo'
127 '-H', f'Host: {env.domain1}',
130 assert r.json, f'{r.stdout}'
133 assert r.json['SSL_TLS_SNI'] == env.domain1, f'{r.json}'
134 assert False, f'should not have succeeded: {r.json}'
138 assert r.exit_code in [7, 35, 60], f'{r}'
151 url = f'https://{env.authority_for(domain, proto)}/curltest/sslinfo'
153 assert r.exit_code == 0, f'{r}'
154 assert r.json, f'{r}'
157 assert 'SSL_TLS_SNI' not in r.json, f'{r.json}'
166 url = f'https://{env.authority_for(domain, proto)}/curltest/sslinfo'
168 assert r.exit_code == 0, f'{r}'
169 assert r.json, f'{r}'
171 assert r.json['SSL_TLS_SNI'] == domain, f'{r.json}'
207 f'SSLProtocol {tls_proto}'
212 url = f'https://{env.authority_for(env.domain1, proto)}/curltest/sslinfo'
260 url = f'https://{env.authority_for(domain, proto)}/'
265 assert r.exit_code == 91, f'{r}'
277 f'SSLProtocol {tls_proto}',
293 url = f'https://{env.authority_for(env.domain1, proto)}/curltest/sslinfo'
311 assert r.exit_code == 0, f'extra_args={extra_args}\n{r.dump_logs()}'
315 assert r.exit_code != 0, f'extra_args={extra_args}\n{r.dump_logs()}'
326 url = f'https://localhost:{env.https_port}/{docname}'
329 pytest.skip(f'example client not built: {client.name}')
331 '-n', f'{count}',
333 '-r', f'{env.domain1}:{env.port_for("h3")}:127.0.0.1',
343 assert reused_session, f'{r}\n{r.dump_logs()}'
351 domain = f'insecure.{env.tld}'
352 url = f'https://{domain}:{env.port_for(proto)}/curltest/sslinfo'
354 assert r.exit_code == 60, f'{r}'
362 domain = f'insecure.{env.tld}'
363 url = f'https://{domain}:{env.port_for(proto)}/curltest/sslinfo'
367 assert r.exit_code == 0, f'{r}'
368 assert r.json, f'{r}'