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

STY: autopep8'ed test_issues_server.py

parent ea5eb34e
No related branches found
No related tags found
No related merge requests found
Pipeline #21728 passed
......@@ -44,7 +44,7 @@ def setup_function(function):
def teardown_function(function):
"""Deleting entities again."""
pass #setup_module()
pass # setup_module()
# ########################### Issue tests start here #####################
......@@ -726,7 +726,6 @@ def test_134_1():
r_ds = db.Record().add_parent("DataSet").add_property("events", value=[r_ev_1, r_ev_2]).insert()
result = db.execute_query("SELECT events.latitude FROM RECORD DataSet",
unique=True)
print(result)
......@@ -734,6 +733,7 @@ def test_134_1():
assert result.get_property("events").value[0].get_property("latitude").value == 0.1
assert result.get_property("events").value[1].get_property("latitude").value == 0.2
def test_134_2():
"""CQL: Subproperties are not recognized in list of references.
......@@ -752,8 +752,8 @@ def test_134_2():
0.2).add_property("latitude",
0.2).insert()
r_ds = db.Record().add_parent("DataSet").add_property("Event", datatype=db.LIST(rt_ev), value=[r_ev_1, r_ev_2]).insert()
r_ds = db.Record().add_parent("DataSet").add_property(
"Event", datatype=db.LIST(rt_ev), value=[r_ev_1, r_ev_2]).insert()
result = db.execute_query("SELECT Event.latitude FROM RECORD DataSet",
unique=True)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment