diff --git a/unittests/test_error_handling.py b/unittests/test_error_handling.py
index 0c2803afa306667af7178cd5c16db6a483670dde..6ba66a62b66b1a63af6c3b8957ddd151314c2a47 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(