Suppress pyright attribute access issue for BASE_URL in test fixture
All checks were successful
Deploy to Server / deploy (push) Successful in 19s
All checks were successful
Deploy to Server / deploy (push) Successful in 19s
This commit is contained in:
parent
f10a0102a5
commit
7478d4c851
1 changed files with 1 additions and 1 deletions
|
|
@ -44,7 +44,7 @@ if TYPE_CHECKING:
|
||||||
@pytest.fixture(autouse=True)
|
@pytest.fixture(autouse=True)
|
||||||
def apply_base_url_override(settings: object) -> None:
|
def apply_base_url_override(settings: object) -> None:
|
||||||
"""Ensure BASE_URL is globally overridden for all tests."""
|
"""Ensure BASE_URL is globally overridden for all tests."""
|
||||||
settings.BASE_URL = "https://ttvdrops.lovinator.space"
|
settings.BASE_URL = "https://ttvdrops.lovinator.space" # pyright: ignore[reportAttributeAccessIssue]
|
||||||
|
|
||||||
|
|
||||||
@pytest.mark.django_db
|
@pytest.mark.django_db
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue