Browse Source

tests/net_hosted/ssl_verify_callback.py: Make exp match actual output.

The `cert` argument passed to the verify callback is actually a memoryview.
And the `depth` argument seems to start at 1 for the tested URL.

Signed-off-by: Damien George <damien@micropython.org>
pull/15134/head
Damien George 5 months ago
parent
commit
e1111d873a
  1. 7
      tests/net_hosted/ssl_verify_callback.py.exp

7
tests/net_hosted/ssl_verify_callback.py.exp

@ -1,5 +1,4 @@
verify_callback: <class 'bytes'> True 2
verify_callback: <class 'bytes'> True 1
verify_callback: <class 'bytes'> True 0
verify_callback_fail: <class 'bytes'> True 2
verify_callback: <class 'memoryview'> True 1
verify_callback: <class 'memoryview'> True 0
verify_callback_fail: <class 'memoryview'> True 1
MBEDTLS_ERR_ERROR_GENERIC_ERROR

Loading…
Cancel
Save