Fixes incoming user test

This commit is contained in:
Mouse Reeve 2020-12-20 12:54:30 -08:00
parent 79973687d5
commit e72c3e11dd

View file

@ -464,7 +464,7 @@ class Incoming(TestCase):
'data/ap_user.json')
userdata = json.loads(datafile.read_bytes())
del userdata['icon']
self.assertEqual(self.local_user.name, '')
self.assertIsNone(self.local_user.name)
incoming.handle_update_user({'object': userdata})
user = models.User.objects.get(id=self.local_user.id)
self.assertEqual(user.name, 'MOUSE?? MOUSE!!')