feat: várias melhorias e evoluções no projeto
This commit is contained in:
5
diarios_oficiais_alems/users/tests/test_models.py
Normal file
5
diarios_oficiais_alems/users/tests/test_models.py
Normal file
@ -0,0 +1,5 @@
|
||||
from diarios_oficiais_alems.users.models import User
|
||||
|
||||
|
||||
def test_user_get_absolute_url(user: User):
|
||||
assert user.get_absolute_url() == f"/users/{user.username}/"
|
||||
Reference in New Issue
Block a user