Skip to content
Snippets Groups Projects
Verified Commit cb2cf641 authored by Timm Fitschen's avatar Timm Fitschen
Browse files

STY: autopep8'ed test_name_properties

parent 4310a719
No related branches found
No related tags found
No related merge requests found
Pipeline #22632 passed
...@@ -358,8 +358,10 @@ def test_name_resource(): ...@@ -358,8 +358,10 @@ def test_name_resource():
name_prop = db.Property(name="name").retrieve() name_prop = db.Property(name="name").retrieve()
alias_prop = db.Property(name="TestAlias").add_parent(name_prop).insert() alias_prop = db.Property(name="TestAlias").add_parent(name_prop).insert()
rt = db.RecordType(
rt = db.RecordType(name="TestRT_primary").add_property(alias_prop, value="TestRT_alias").insert(); name="TestRT_primary").add_property(
alias_prop,
value="TestRT_alias").insert()
connection = db.get_connection() connection = db.get_connection()
...@@ -372,4 +374,4 @@ def test_name_resource(): ...@@ -372,4 +374,4 @@ def test_name_resource():
print(result) print(result)
names = [e.name for e in result] names = [e.name for e in result]
assert "TestRT_primary" in names 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"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment