Skip to content

Commit

Permalink
chore: black
Browse files Browse the repository at this point in the history
  • Loading branch information
rboixaderg committed Jan 19, 2024
1 parent 0eb7e3c commit 7d48a03
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions guillotina/tests/workflows/test_workflow_basic.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,9 @@ async def test_workflow_basic(container_requester):
assert response["review_state"] == "public"

response, _ = await requester("GET", "/db/guillotina/@sharing")
assert response["local"]["roleperm"]["guillotina.Anonymous"]["guillotina.AccessContent"] == "AllowSingle"
assert (
response["local"]["roleperm"]["guillotina.Anonymous"]["guillotina.AccessContent"] == "AllowSingle"
)

response, status = await requester("GET", "/db/guillotina", token=None)
assert status == 200
Expand All @@ -51,7 +53,10 @@ async def test_workflow_basic(container_requester):
"token": "private",
},
{
"title": {"title": "Public", "translated_title": {"en": "Public", "ca": "Públic", "es": "Público"}},
"title": {
"title": "Public",
"translated_title": {"en": "Public", "ca": "Públic", "es": "Público"},
},
"token": "public",
},
],
Expand Down

0 comments on commit 7d48a03

Please sign in to comment.