diff options
author | Matthew Lemon <y@yulqen.org> | 2024-10-15 21:01:31 +0100 |
---|---|---|
committer | Matthew Lemon <y@yulqen.org> | 2024-10-15 21:01:31 +0100 |
commit | eeaddb27560d723ca7d61359744ceb2709fccd2d (patch) | |
tree | 04ddbc49ae7b73d5f5a9e1716d7227aecd3b9f85 /pyblackbird_cc/users/tests/test_urls.py | |
parent | 7a3044c859043837e6c7c95bb4894d04e9b2cbc2 (diff) |
Renamed from pyblackbird_cc to alphabetlearning - everywhere
Diffstat (limited to 'pyblackbird_cc/users/tests/test_urls.py')
-rw-r--r-- | pyblackbird_cc/users/tests/test_urls.py | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/pyblackbird_cc/users/tests/test_urls.py b/pyblackbird_cc/users/tests/test_urls.py deleted file mode 100644 index e5bdc25..0000000 --- a/pyblackbird_cc/users/tests/test_urls.py +++ /dev/null @@ -1,19 +0,0 @@ -from django.urls import resolve -from django.urls import reverse - -from pyblackbird_cc.users.models import User - - -def test_detail(user: User): - assert reverse("users:detail", kwargs={"pk": user.pk}) == f"/users/{user.pk}/" - assert resolve(f"/users/{user.pk}/").view_name == "users:detail" - - -def test_update(): - assert reverse("users:update") == "/users/~update/" - assert resolve("/users/~update/").view_name == "users:update" - - -def test_redirect(): - assert reverse("users:redirect") == "/users/~redirect/" - assert resolve("/users/~redirect/").view_name == "users:redirect" |