This commit is contained in:
Kostiantyn Stoliarskyi 2023-05-30 10:14:59 +03:00
parent 50a63f8f9e
commit 4d6c1481e0

View File

@ -1017,9 +1017,8 @@ def test_crud_comment(client: FlaskClient, runner: FlaskCliRunner):
comment_text = "Some comment text" comment_text = "Some comment text"
response: Response = client.post( response: Response = client.post(
f"/book/{book.id}/{collection.id}/{sub_collection.id}/{section_in_subcollection.id}/{interpretation.id}/create_comment", f"/book/{book.id}/{interpretation.id}/create_comment",
data=dict( data=dict(
section_id=section_in_subcollection.id,
text=comment_text, text=comment_text,
interpretation_id=interpretation.id, interpretation_id=interpretation.id,
), ),