Lines Matching refs:json
27 import json
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}'
96 djson = json.load(f)
113 assert r.json, f'{r}'
116 assert r.json['SSL_TLS_SNI'] == env.domain1, f'{r.json}'
130 assert r.json, f'{r.stdout}'
133 assert r.json['SSL_TLS_SNI'] == env.domain1, f'{r.json}'
154 assert r.json, f'{r}'
157 assert 'SSL_TLS_SNI' not in r.json, f'{r.json}'
169 assert r.json, f'{r}'
171 assert r.json['SSL_TLS_SNI'] == domain, f'{r.json}'
239 assert r.json['HTTPS'] == 'on', r.dump_logs()
240 assert r.json['SSL_PROTOCOL'] == 'TLSv1.3', r.dump_logs()
241 assert ciphers13 is None or r.json['SSL_CIPHER'] in ciphers13, r.dump_logs()
244 assert r.json['HTTPS'] == 'on', r.dump_logs()
245 assert r.json['SSL_PROTOCOL'] == 'TLSv1.2', r.dump_logs()
246 assert ciphers12 is None or r.json['SSL_CIPHER'] in ciphers12, r.dump_logs()
312 assert r.json['HTTPS'] == 'on', r.dump_logs()
313 assert r.json['SSL_PROTOCOL'] == tls_proto, r.dump_logs()
368 assert r.json, f'{r}'