Updates unit tests for new username handling

still some failing tho
This commit is contained in:
Mouse Reeve
2020-12-27 15:18:48 -08:00
parent e89bfdc572
commit 7e987fc446
14 changed files with 68 additions and 39 deletions

View File

@@ -16,7 +16,8 @@ class Status(TestCase):
def setUp(self):
''' useful things for creating a status '''
self.user = models.User.objects.create_user(
'mouse', 'mouse@mouse.mouse', 'mouseword', local=True)
'mouse', 'mouse@mouse.mouse', 'mouseword',
local=True, localname='mouse')
self.book = models.Edition.objects.create(title='Test Edition')
image_file = pathlib.Path(__file__).parent.joinpath(