forked from mirrors/bookwyrm
fixes typo in person test
This commit is contained in:
parent
77781d57c3
commit
29df2e0fac
1 changed files with 1 additions and 1 deletions
|
@ -25,7 +25,7 @@ class Person(TestCase):
|
|||
def test_user_to_model(self):
|
||||
activity = activitypub.Person(**self.user_data)
|
||||
with patch('bookwyrm.models.user.set_remote_server.delay'):
|
||||
user = activity.to_model(models=models.User)
|
||||
user = activity.to_model(model=models.User)
|
||||
self.assertEqual(user.username, 'mouse@example.com')
|
||||
self.assertEqual(user.remote_id, 'https://example.com/user/mouse')
|
||||
self.assertFalse(user.local)
|
||||
|
|
Loading…
Reference in a new issue