Projet

Général

Profil

0001-tests-create-directory-for-API-tests-57663.patch

Benjamin Dauvergne, 06 octobre 2021 22:17

Télécharger (1,26 ko)

Voir les différences:

Subject: [PATCH 1/3] tests: create directory for API tests (#57663)

 tests/api/__init__.py                   | 0
 tests/{test_api.py => api/test_misc.py} | 3 +--
 2 files changed, 1 insertion(+), 2 deletions(-)
 create mode 100644 tests/api/__init__.py
 rename tests/{test_api.py => api/test_misc.py} (99%)
tests/test_api.py → tests/api/test_misc.py
40 40
from authentic2.utils.misc import good_next_url
41 41
from django_rbac.models import SEARCH_OP
42 42
from django_rbac.utils import get_ou_model, get_role_model
43

  
44
from .utils import assert_event, basic_authorization_header, get_link_from_mail, login
43
from tests.utils import assert_event, basic_authorization_header, get_link_from_mail, login
45 44

  
46 45
pytestmark = pytest.mark.django_db
47 46

  
48
-