funkwhale/api/tests/users/test_models.py

5 wiersze
119 B
Python

def test__str__(factories):
user = factories['users.User'](username='hello')
assert user.__str__() == 'hello'