diff --git a/tests/test_misc.py b/tests/test_misc.py
index 246fdcff20ecddd6cb1a0e0355e9e31d31e573f9..a5edd73f23e48f92a160614e28144e3948d292c0 100644
--- a/tests/test_misc.py
+++ b/tests/test_misc.py
@@ -500,11 +500,11 @@ def test_retrieve_wrong_role(clear_database):
     with raises(ValueError) as cm:
         entity.retrieve()
     assert cm.value.args[0].startswith("The resulting entity had a different role "
-                                "(RecordType) than the local one (Record). "
-                                "This probably means, that the entity was "
-                                "intialized with a wrong class by this client "
-                                "or it has changed in the past and this "
-                                "client did't know about it yet.")
+                                       "(RecordType) than the local one (Record). "
+                                       "This probably means, that the entity was "
+                                       "intialized with a wrong class by this client "
+                                       "or it has changed in the past and this "
+                                       "client did't know about it yet.")
 
 
 @fixture