diff options
author | Matthew Lemon <y@yulqen.org> | 2024-09-10 11:13:15 +0100 |
---|---|---|
committer | Matthew Lemon <y@yulqen.org> | 2024-09-10 11:13:15 +0100 |
commit | 86c02670efcb1a219acff44fd8b5b723ac30bfa0 (patch) | |
tree | 548a387879fb7deb22ec2fffb7ac35ea3b0ee3ac /instruments/tests/test_models.py | |
parent | e3b47f5218aa9155e933c58465aebc071485df40 (diff) |
Removes marks on fixtures to handle deprecation warning
Diffstat (limited to 'instruments/tests/test_models.py')
-rw-r--r-- | instruments/tests/test_models.py | 4 |
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") |