From 45f552e0d64da2a0d6dd25d6deb15be233977468 Mon Sep 17 00:00:00 2001 From: fspreck <f.spreckelsen@indiscale.com> Date: Thu, 25 Jun 2020 17:01:21 +0200 Subject: [PATCH] STY: autopep --- unittests/test_error_handling.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/unittests/test_error_handling.py b/unittests/test_error_handling.py index 0c2803af..6ba66a62 100644 --- a/unittests/test_error_handling.py +++ b/unittests/test_error_handling.py @@ -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( -- GitLab