Projet

Général

Profil

0002-tests-move-api-tests-in-subdirectory-62013.patch

Benjamin Dauvergne, 13 mai 2022 17:27

Télécharger (1,19 ko)

Voir les différences:

Subject: [PATCH 2/9] tests: move api tests in subdirectory (#62013)

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

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

  
46 46
pytestmark = pytest.mark.django_db
47 47

  
48
-