forked from mirrors/bookwyrm
Adds mock to inbox test
This commit is contained in:
parent
cce7d9a648
commit
2eb37663b6
1 changed files with 2 additions and 1 deletions
|
@ -47,7 +47,8 @@ class InboxCreate(TestCase):
|
|||
}
|
||||
models.SiteSettings.objects.create()
|
||||
|
||||
def test_create_status(self, _):
|
||||
@patch("bookwyrm.activitystreams.ActivityStream.add_status")
|
||||
def test_create_status(self, *_):
|
||||
"""the "it justs works" mode"""
|
||||
datafile = pathlib.Path(__file__).parent.joinpath(
|
||||
"../../data/ap_quotation.json"
|
||||
|
|
Loading…
Reference in a new issue