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

STY: autopep

parent 91f6e70a
No related branches found
No related tags found
No related merge requests found
......@@ -173,7 +173,7 @@ def test_parent_and_properties_errors():
entity_code = 0
no_entity_code = 0
parent = _add_error_message_to_entity(
db.RecordType(name="TestParent"), no_entity_code)
db.RecordType(name="TestParent"), no_entity_code)
prop1 = _add_error_message_to_entity(db.Property(
name="TestProp1"), entity_code)
prop2 = _add_error_message_to_entity(db.Property(
......@@ -187,7 +187,7 @@ def test_parent_and_properties_errors():
raise_errors(rec)
# TODO: Now there should be two direct children; both have to be
# displayed correctly.
def test_container_with_faulty_elements():
"""Container with valid and invalid entities. All faulty entities have
......@@ -203,7 +203,7 @@ def test_container_with_faulty_elements():
no_entity_code = 0
# Broken parents and properties
parent = _add_error_message_to_entity(
db.RecordType(name="TestParent"), no_entity_code)
db.RecordType(name="TestParent"), no_entity_code)
prop1 = _add_error_message_to_entity(db.Property(
name="TestProp1"), entity_code)
prop2 = _add_error_message_to_entity(db.Property(
......
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