From ef5968274682f66ed31b585a4a817700362aa8bb Mon Sep 17 00:00:00 2001 From: Mouse Reeve Date: Mon, 4 Jan 2021 11:44:52 -0800 Subject: [PATCH] fixes outgoing tests --- bookwyrm/tests/test_outgoing.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bookwyrm/tests/test_outgoing.py b/bookwyrm/tests/test_outgoing.py index 5e585b1d..aff902a5 100644 --- a/bookwyrm/tests/test_outgoing.py +++ b/bookwyrm/tests/test_outgoing.py @@ -398,7 +398,7 @@ class Outgoing(TestCase): def test_handle_status_mentions(self): ''' @mention a user in a post ''' user = models.User.objects.create_user( - 'rat', 'rat@rat.com', 'password', local=True) + 'rat', 'rat@rat.com', 'password', local=True, localname='rat') form = forms.CommentForm({ 'content': 'hi @rat', 'user': self.local_user.id, @@ -418,7 +418,7 @@ class Outgoing(TestCase): def test_handle_status_reply_with_mentions(self): ''' reply to a post with an @mention'ed user ''' user = models.User.objects.create_user( - 'rat', 'rat@rat.com', 'password', local=True) + 'rat', 'rat@rat.com', 'password', local=True, localname='rat') form = forms.CommentForm({ 'content': 'hi @rat@example.com', 'user': self.local_user.id,