Skip to content

Legacy pytest fixtures broken on 2.7.0rc0 #6881

@danielhollas

Description

@danielhollas

I noticed failing tests in the aiidalab-widgets-base test suite: aiidalab/aiidalab-widgets-base#698

In AWB we still use the deprecated pytest fixtures from aiida.manage.tests.pytest_fixtures.
Here's a simple reproduce that fails:

pytest_plugins = ["aiida.manage.tests.pytest_fixtures"]

def test_fixtures(aiida_profile_clean, daemon_client):
    if daemon_client.is_daemon_running:
        daemon_client.stop_daemon(wait=True)
    daemon_client.start_daemon()
    daemon_client.stop_daemon(wait=True)

I've bisected the problem to #6610.
I think I have a fix, will post a PR today or tomorrow.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions