mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2025-08-13 16:34:52 +03:00
Update {{cookiecutter.project_slug}}/{{cookiecutter.project_slug}}/users/tests/test_views.py
Co-Authored-By: Bruno Alla <browniebroke@users.noreply.github.com>
This commit is contained in:
parent
31fa35a3a5
commit
df9034856e
|
@ -4,7 +4,11 @@ from django.test import RequestFactory
|
|||
from django.urls import reverse
|
||||
|
||||
from .factories import UserFactory
|
||||
from ..views import UserDetailView, UserRedirectView, UserUpdateView
|
||||
from {{ cookiecutter.project_slug }}.users.views import (
|
||||
UserDetailView
|
||||
UserRedirectView,
|
||||
UserUpdateView,
|
||||
)
|
||||
|
||||
pytestmark = pytest.mark.django_db
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user