diff --git a/tests/test_name_properties.py b/tests/test_name_properties.py
index 1718519e6d2bf38f7ff1ce2a2d2b4acf74e37c5f..39e63e3b9850127f821c1679cb6ccd53c938a612 100644
--- a/tests/test_name_properties.py
+++ b/tests/test_name_properties.py
@@ -358,8 +358,10 @@ def test_name_resource():
     name_prop = db.Property(name="name").retrieve()
     alias_prop = db.Property(name="TestAlias").add_parent(name_prop).insert()
 
-
-    rt = db.RecordType(name="TestRT_primary").add_property(alias_prop, value="TestRT_alias").insert();
+    rt = db.RecordType(
+        name="TestRT_primary").add_property(
+        alias_prop,
+        value="TestRT_alias").insert()
 
     connection = db.get_connection()
 
@@ -372,4 +374,4 @@ def test_name_resource():
     print(result)
     names = [e.name for e in result]
     assert "TestRT_primary" in names
-    assert "TestRT_alias" in names ## the alias should also be included"
+    assert "TestRT_alias" in names  # the alias should also be included"