diff --git a/tests/test_fixtures.py b/tests/test_fixtures.py index 2c718c54f..7f84b22c1 100644 --- a/tests/test_fixtures.py +++ b/tests/test_fixtures.py @@ -617,6 +617,7 @@ def test_block_with_block(self, django_db_blocker): with pytest.raises(RuntimeError): Item.objects.exists() + @pytest.mark.django_db def test_unblock_manually(self, django_db_blocker): try: django_db_blocker.unblock() @@ -624,6 +625,7 @@ def test_unblock_manually(self, django_db_blocker): finally: django_db_blocker.restore() + @pytest.mark.django_db def test_unblock_with_block(self, django_db_blocker): with django_db_blocker.unblock(): Item.objects.exists()