summaryrefslogtreecommitdiffstats
path: root/instruments/tests/test_models.py
diff options
context:
space:
mode:
Diffstat (limited to 'instruments/tests/test_models.py')
-rw-r--r--instruments/tests/test_models.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/instruments/tests/test_models.py b/instruments/tests/test_models.py
index 6346cba..7762dde 100644
--- a/instruments/tests/test_models.py
+++ b/instruments/tests/test_models.py
@@ -5,14 +5,14 @@ import pytest
from engagements import models
from engagements.utils import populate_database
+pytestmark = pytest.mark.django_db
+
@pytest.fixture
-@pytest.mark.django_db
def test_data():
return populate_database()
-@pytest.mark.django_db
class TestModels:
def test_check_all_dcs(self, test_data):
dscs = test_data.get("sub_instruments")