refactor(v2): isolate legacy provider stack and prune obsolete tests

This commit is contained in:
Alfredo Di Stasio
2026-03-20 15:57:20 +01:00
parent 5a19587376
commit b6b6753931
15 changed files with 76 additions and 796 deletions

View File

@ -0,0 +1,15 @@
import pytest
from django.conf import settings
@pytest.mark.django_db
def test_legacy_provider_stack_disabled_by_default():
assert settings.LEGACY_PROVIDER_STACK_ENABLED is False
assert "apps.providers" not in settings.INSTALLED_APPS
@pytest.mark.django_db
def test_providers_route_not_mounted_by_default(client):
response = client.get("/providers/")
assert response.status_code == 404