mirror of
https://github.com/thib8956/nginx-proxy
synced 2026-11-09 19:37:31 +00:00
Fix the test
This commit is contained in:
1 parent
16169a0f74
commit
23823c4b21
1 file changed
+1
-1
@@ -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
|
||||||
Reference in new issue
Block a user