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