From efbbd480ddc62e695123d31c31d233b0df5155bd Mon Sep 17 00:00:00 2001 From: Matthew Lemon Date: Mon, 13 May 2024 17:26:25 +0100 Subject: After first pre-commit processing --- pyblackbird_cc/users/tests/test_models.py | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 pyblackbird_cc/users/tests/test_models.py (limited to 'pyblackbird_cc/users/tests/test_models.py') 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}/" -- cgit v1.2.3