Initial commit that merge both the front end and the API in the same repository
This commit is contained in:
commit
76f98b74dd
285 changed files with 51318 additions and 0 deletions
13
api/funkwhale_api/users/tests/test_models.py
Normal file
13
api/funkwhale_api/users/tests/test_models.py
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
from test_plus.test import TestCase
|
||||
|
||||
|
||||
class TestUser(TestCase):
|
||||
|
||||
def setUp(self):
|
||||
self.user = self.make_user()
|
||||
|
||||
def test__str__(self):
|
||||
self.assertEqual(
|
||||
self.user.__str__(),
|
||||
"testuser" # This is the default username for self.make_user()
|
||||
)
|
||||
Loading…
Add table
Add a link
Reference in a new issue