#4189 new defect

Integration tests are failing

Reported by: sajith Owned by: sajith
Priority: normal Milestone: undecided
Component: unknown Version: n/a
Keywords: Cc:
Launchpad Bug:

Description

All integration tests are failing for the same reason, it seems. See https://github.com/tahoe-lafs/tahoe-lafs/actions/runs/19959845121/ for example.

This is the error:

integration: commands[0]> py.test --timeout=1800 --coverage -s -v integration
ImportError while loading conftest '/home/runner/work/tahoe-lafs/tahoe-lafs/integration/conftest.py'.
integration/conftest.py:308: in <module>
    @pytest.fixture(scope='session')
     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.tox/integration/lib/python3.11/site-packages/_hypothesis_pytestplugin.py:453: in _ban_given_call
    return _orig_call(self, function)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^
E   pytest.PytestRemovedIn9Warning: Marks applied to fixtures have no effect
E   See docs: https://docs.pytest.org/en/stable/deprecations.html#applying-a-mark-to-a-fixture-function

The actual error seems to be the two @pytest.mark.skipif marks on test fixtures though, which pytest has deprecated, per https://docs.pytest.org/en/stable/deprecations.html#applying-a-mark-to-a-fixture-function.

Change History (0)

Note: See TracTickets for help on using tickets.