Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisjsewell committed Oct 19, 2021
1 parent 7219b8d commit 8781d0f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tests/orm/implementation/test_backend.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,11 @@
from aiida.orm.entities import EntityTypes


@pytest.mark.usefixtures('clear_database_before_test')
class TestBackend:
"""Test backend."""

@pytest.fixture(autouse=True)
def init_test(self, backend):
def init_test(self, clear_database_before_test, backend): # pylint: disable=unused-argument
"""Set up the backend."""
self.backend = backend # pylint: disable=attribute-defined-outside-init

Expand Down

0 comments on commit 8781d0f

Please sign in to comment.