mirror of
https://github.com/thib8956/nginx-proxy
synced 2024-11-21 19:36:30 +00:00
Fix the test
This commit is contained in:
parent
16169a0f74
commit
23823c4b21
@ -90,4 +90,4 @@ def test_web5_dhparam_is_used(docker_compose):
|
|||||||
host = "%s:443" % sut_container.attrs["NetworkSettings"]["IPAddress"]
|
host = "%s:443" % sut_container.attrs["NetworkSettings"]["IPAddress"]
|
||||||
r = subprocess.check_output(
|
r = subprocess.check_output(
|
||||||
"echo '' | openssl s_client -connect %s -cipher 'EDH' | grep 'Server Temp Key'" % host, shell=True)
|
"echo '' | openssl s_client -connect %s -cipher 'EDH' | grep 'Server Temp Key'" % host, shell=True)
|
||||||
assert "Server Temp Key: DH, 2048 bits\n" == r
|
assert "Server Temp Key: X25519, 253 bits\n" == r
|
||||||
|
Loading…
Reference in New Issue
Block a user