From 86c02670efcb1a219acff44fd8b5b723ac30bfa0 Mon Sep 17 00:00:00 2001 From: Matthew Lemon Date: Tue, 10 Sep 2024 11:13:15 +0100 Subject: Removes marks on fixtures to handle deprecation warning --- instruments/tests/test_models.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'instruments') 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") -- cgit v1.2.3