From: David Woodhouse Date: Tue, 12 Apr 2022 09:56:26 +0000 (+0200) Subject: fake-cisco-server.py: Disable check for `multiple-cert` support X-Git-Tag: v9.00~47 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=45da3b07dfc8f808e7b0d0bf80fbf7e73b1b0721;p=users%2Fdwmw2%2Fopenconnect.git fake-cisco-server.py: Disable check for `multiple-cert` support Now we support SSO, there are *multiple* auth-method nodes, not just one. We should check that *one* of them contains 'multiple-cert'. Comment it out for now. Signed-off-by: David Woodhouse --- diff --git a/tests/fake-cisco-server.py b/tests/fake-cisco-server.py index 7c5e2bd5..2f92f25e 100755 --- a/tests/fake-cisco-server.py +++ b/tests/fake-cisco-server.py @@ -149,7 +149,7 @@ def handle_xmlpost(usergroup=None): def initial_request(dict_req): config_auth = dict_req['config-auth'] - assert config_auth['capabilities']['auth-method'] == 'multiple-cert' +# assert config_auth['capabilities']['auth-method'] == 'multiple-cert' return INITIAL_RESPONSE