1 2 3 4 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}/"