mirror of
https://code.eliotberriot.com/funkwhale/funkwhale.git
synced 2025-10-04 17:49:16 +02:00
13 lines
296 B
Python
13 lines
296 B
Python
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()
|
|
)
|