mirror of
https://code.eliotberriot.com/funkwhale/funkwhale.git
synced 2025-10-04 04:59:17 +02:00
Fixed #54: Now use pytest everywhere \o/
This commit is contained in:
parent
a7758395ee
commit
099cdfa99c
65 changed files with 1466 additions and 1467 deletions
4
api/tests/users/test_models.py
Normal file
4
api/tests/users/test_models.py
Normal file
|
@ -0,0 +1,4 @@
|
|||
|
||||
def test__str__(factories):
|
||||
user = factories['users.User'](username='hello')
|
||||
assert user.__str__() == 'hello'
|
Loading…
Add table
Add a link
Reference in a new issue