mirror of
https://github.com/logos-co/open-law.git
synced 2025-02-10 13:57:17 +00:00
fix test
This commit is contained in:
parent
b11f8eb7ec
commit
8ae2b8e009
@ -127,6 +127,7 @@ def test_add_contributor(client: FlaskClient):
|
||||
assert b"You are not owner of this book!" in response.data
|
||||
|
||||
book = m.Book(label="Test Book", user_id=user.id).save()
|
||||
m.BookVersion(semver="1.0.0", book_id=book.id).save()
|
||||
|
||||
response: Response = client.post(
|
||||
f"/book/{book.id}/add_contributor",
|
||||
|
Loading…
x
Reference in New Issue
Block a user