Age | Commit message (Collapse) | Author |
|
|
|
e._reason is an enum from cryptography.exceptions._Reasons so "is"
should be the correct comparison, but it doesn't always work. This is
apparently triggered by _Reasons moving to the part of cryptography
that is implemented in rust, which doesn't yet implement enums as
singletons.
https://github.com/pyca/cryptography/issues/11332
https://github.com/PyO3/pyo3/issues/3059
|
|
|
|
|
|
|
|
|
|
The prefetch requests are added in a background process, so the might
not be ready when the test wants to count them. Fix it by introducing a
wait_for untility function that waits for a assert to pass for a
specified timeout, to give the background thread the chance to start and
add the prefetch requests.
Also lock the prefetch lock before trying to access the extents to
prevent a data race.
|
|
Also move auth tests to be new style filename, obj naming
Also allow test task module selector to see new-style test modules
|
|
|
|
Main branch as of today:
350 passed, 21 skipped, 52 deselected, 3 warnings in 11.10s
This branch as of this commit:
361 passed, 21 skipped, 52 deselected, 3 warnings in 10.51s
Of those 11 "new" tests, 8 are ones I wrote (tests/pkey.py). Hard to
figure out what the other 3 are given pytest-relaxed's output is very
different from regular verbose pytest. oops.
|