PR #1205 #3527
GitHub Actions / JUnit Test Report Regression
failed
Dec 5, 2024 in 0s
874 tests run, 827 passed, 46 skipped, 1 failed.
Annotations
Check failure on line 1 in app/tests/e2e/verifier/test_proof_revoked_credential.py
github-actions / JUnit Test Report Regression
test_proof_revoked_credential.test_regression_proof_revoked_credential[reuse-reuse-reuse-reuse-reuse-reuse]
failed on setup with "AssertionError: Fixture is being recreated (regression tests configured to fail on recreating)"
Raw output
anyio_backend = 'asyncio'
request = <SubRequest 'get_or_issue_regression_cred_revoked' for <Function test_regression_proof_revoked_credential[reuse-reuse-reuse-reuse-reuse-reuse]>>
args = ()
kwargs = {'alice_member_client': <shared.util.rich_async_client.RichAsyncClient object at 0x7fb0f7b73380>, 'credential_definiti...a41-40bd-91be-d1c8950a32fc'), 'faber_client': <shared.util.rich_async_client.RichAsyncClient object at 0x7fb0f7b0a150>}
local_func = <function get_or_issue_regression_cred_revoked at 0x7fb0fb53e020>
backend_name = 'asyncio', backend_options = {}
runner = <anyio._backends._asyncio.TestRunner object at 0x7fb0faf1f7a0>
def wrapper(
*args: Any, anyio_backend: Any, request: SubRequest, **kwargs: Any
) -> Any:
# Rebind any fixture methods to the request instance
if (
request.instance
and ismethod(func)
and type(func.__self__) is type(request.instance)
):
local_func = func.__func__.__get__(request.instance)
else:
local_func = func
backend_name, backend_options = extract_backend_and_options(anyio_backend)
if has_backend_arg:
kwargs["anyio_backend"] = anyio_backend
if has_request_arg:
kwargs["request"] = request
with get_runner(backend_name, backend_options) as runner:
if isasyncgenfunction(local_func):
yield from runner.run_asyncgen_fixture(local_func, kwargs)
else:
> yield runner.run_fixture(local_func, kwargs)
/usr/local/lib/python3.12/site-packages/anyio/pytest_plugin.py:100:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.12/site-packages/anyio/_backends/_asyncio.py:2237: in run_fixture
retval = self.get_loop().run_until_complete(
/usr/local/lib/python3.12/asyncio/base_events.py:686: in run_until_complete
return future.result()
/usr/local/lib/python3.12/site-packages/anyio/_backends/_asyncio.py:2207: in _call_in_runner_task
return await future
/usr/local/lib/python3.12/site-packages/anyio/_backends/_asyncio.py:2174: in _run_tests_and_fixtures
retval = await coro
app/tests/fixtures/credentials.py:288: in get_or_issue_regression_cred_revoked
assert_fail_on_recreating_fixtures()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
def assert_fail_on_recreating_fixtures():
assert (
> RegressionTestConfig.fail_on_recreating_fixtures is False
), "Fixture is being recreated (regression tests configured to fail on recreating)"
E AssertionError: Fixture is being recreated (regression tests configured to fail on recreating)
app/tests/util/regression_testing.py:34: AssertionError
Loading