Updates unit tests for new username handling
still some failing tho
This commit is contained in:
parent
e89bfdc572
commit
7e987fc446
14 changed files with 68 additions and 39 deletions
|
@ -9,7 +9,8 @@ from bookwyrm.settings import DOMAIN
|
|||
class User(TestCase):
|
||||
def setUp(self):
|
||||
self.user = models.User.objects.create_user(
|
||||
'mouse', 'mouse@mouse.mouse', 'mouseword', local=True)
|
||||
'mouse@%s' % DOMAIN, 'mouse@mouse.mouse', 'mouseword',
|
||||
local=True, localname='mouse')
|
||||
|
||||
def test_computed_fields(self):
|
||||
''' username instead of id here '''
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue