AGPL-3.0-only, a source link in the app, and everything on dev since #5 #6
@@ -1297,8 +1297,7 @@ async def test_a_view_share_writes_nothing_and_an_edit_share_writes_only_text(ap
|
|||||||
assert (await recipient.get(f"/api/notes/{nid}/revisions")).status_code == 404
|
assert (await recipient.get(f"/api/notes/{nid}/revisions")).status_code == 404
|
||||||
|
|
||||||
body = (await (await app_client.get(f"/api/notes/{nid}")).get_json())["body"]
|
body = (await (await app_client.get(f"/api/notes/{nid}")).get_json())["body"]
|
||||||
assert body.startswith("first line, edited")
|
assert body == "first line, edited #fromguest\n- [x] milk"
|
||||||
assert "- [x] milk" in body and "eggs" in body
|
|
||||||
|
|
||||||
|
|
||||||
async def test_owner_and_recipient_each_pin_archive_and_order_their_own(app_client, db):
|
async def test_owner_and_recipient_each_pin_archive_and_order_their_own(app_client, db):
|
||||||
|
|||||||
Reference in New Issue
Block a user