🚚(backend) create a dedicated authentication package
Prepare adding advanced authentication features. Create a dedicated authentication Python package within the core app. This code organization will be more extensible.
This commit is contained in:
committed by
Anthony LC
parent
004a4edfe7
commit
5f7e3e620a
0
src/backend/core/tests/authentication/__init__.py
Normal file
0
src/backend/core/tests/authentication/__init__.py
Normal file
@@ -1,11 +1,11 @@
|
||||
"""Unit tests for the `get_or_create_user` function."""
|
||||
"""Unit tests for the Authentication Backends."""
|
||||
|
||||
from django.core.exceptions import SuspiciousOperation
|
||||
|
||||
import pytest
|
||||
|
||||
from core import models
|
||||
from core.authentication import OIDCAuthenticationBackend
|
||||
from core.authentication.backends import OIDCAuthenticationBackend
|
||||
from core.factories import UserFactory
|
||||
|
||||
pytestmark = pytest.mark.django_db
|
||||
Reference in New Issue
Block a user