Skip to content
Snippets Groups Projects
Verified Commit 29bfa957 authored by Timm Fitschen's avatar Timm Fitschen
Browse files

STY: autopep8'ed test_issues_server.py

parent 764c9b62
No related branches found
No related tags found
1 merge request!56TST: issue caosdb-server#196.
Pipeline #35137 passed
...@@ -1177,6 +1177,7 @@ def test_192(): ...@@ -1177,6 +1177,7 @@ def test_192():
assert count7 == 1 assert count7 == 1
assert count8 == 1 assert count8 == 1
def test_196a(): def test_196a():
"""See https://gitlab.com/caosdb/caosdb-server/-/issues/196""" """See https://gitlab.com/caosdb/caosdb-server/-/issues/196"""
admin._insert_role(name=CURATOR_ROLE, description="Desc") admin._insert_role(name=CURATOR_ROLE, description="Desc")
...@@ -1253,4 +1254,3 @@ def test_196b(deny): ...@@ -1253,4 +1254,3 @@ def test_196b(deny):
# this should fail because the curator doesn't have TRANSACTION:INSERT:PROPERTY # this should fail because the curator doesn't have TRANSACTION:INSERT:PROPERTY
db.Property(name="TestProp2", datatype=db.TEXT).insert() db.Property(name="TestProp2", datatype=db.TEXT).insert()
assert cm.value.errors[0].msg == "You are not allowed to do this." assert cm.value.errors[0].msg == "You are not allowed to do this."
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment