Skip to content
Snippets Groups Projects
Commit d8bde631 authored by Florian Spreckelsen's avatar Florian Spreckelsen
Browse files

STY: autopep

parent 39e2a6c8
No related branches found
No related tags found
No related merge requests found
......@@ -75,7 +75,7 @@ def test_entity_does_not_exist_error():
raise_errors(ent)
# There should be exactly one child
assert len(e.errors) == 1
err = e.errors[0]
err=e.errors[0]
# check type and entity of only child
assert isinstance(err, EntityDoesNotExistError)
assert err.entity.name == ent.name
......@@ -98,9 +98,9 @@ def test_authorization_exception():
def test_unqualified_parents_error():
"""Code 116; parent does not exist"""
code = 116
entity_does_not_exist_code = 101
parent = _add_error_message_to_entity(
code=116
entity_does_not_exist_code=101
parent=_add_error_message_to_entity(
db.RecordType(name="TestParent"),
entity_does_not_exist_code)
rec = _add_error_message_to_entity(db.Record(name="TestRecord"),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment