diff options
Diffstat (limited to 'alphabetlearning/users/tests/test_models.py')
-rw-r--r-- | alphabetlearning/users/tests/test_models.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/alphabetlearning/users/tests/test_models.py b/alphabetlearning/users/tests/test_models.py new file mode 100644 index 0000000..502536f --- /dev/null +++ b/alphabetlearning/users/tests/test_models.py @@ -0,0 +1,5 @@ +from alphabetlearning.users.models import User + + +def test_user_get_absolute_url(user: User): + assert user.get_absolute_url() == f"/users/{user.pk}/" |