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>
This commit is contained in:
Damien George 2024-05-27 11:46:56 +10:00
parent 1a2fdcac0d
commit e1111d873a

View File

@ -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