Skip to content

tests: quickfix flaky error message assertion#546

Merged
jku merged 1 commit intosecure-systems-lab:mainfrom
lukpueh:fix-unexpected-rsa-err
Mar 22, 2023
Merged

tests: quickfix flaky error message assertion#546
jku merged 1 commit intosecure-systems-lab:mainfrom
lukpueh:fix-unexpected-rsa-err

Conversation

@lukpueh
Copy link
Copy Markdown
Member

@lukpueh lukpueh commented Mar 22, 2023

Every now and then this test fails, because pyca/cryptography raises an unexpected error message (see pyca/cryptography#8563)

Regardless of whether it is a good idea to assert error messages of 3rd party libraries, this patch provides a quick fix by asserting that it is one of both known error messages.

closes #463

Every now and then this test fails, because pyca/cryptography
raises an unexpected error message (see pyca/cryptography#8563)

Regardless of whether it is a good idea to assert error messages of
3rd party libraries, this patch provides a quick fix by asserting
that is one of both known error messages.

closes secure-systems-lab#463

Signed-off-by: Lukas Puehringer <[email protected]>
@jku jku merged commit c79b29b into secure-systems-lab:main Mar 22, 2023
@jku jku mentioned this pull request Mar 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Signer uses python2 "__metaclass__"

2 participants