Skip to content
Snippets Groups Projects
Commit 66329c57 authored by Henrik tom Wörden's avatar Henrik tom Wörden
Browse files

STY: white space changes

parent 7dacd13c
No related branches found
No related tags found
No related merge requests found
......@@ -30,9 +30,11 @@ def setup_module():
if len(clean) > 0:
clean.delete()
def teardown_module():
setup_module()
def test_nan():
p = db.Property(name="TestDoubleProperty", datatype=db.DOUBLE).insert()
rt = db.RecordType(name="TestRecordType").add_property(name="TestDoubleProperty",
......@@ -41,5 +43,6 @@ def test_nan():
test1 = db.execute_query("FIND TestRecordType", unique=True)
assert math.isnan(test1.get_property("TestDoubleProperty").value)
test2 = db.execute_query("FIND TestRecordType WITH TestDoubleProperty = NaN", unique=True)
test2 = db.execute_query(
"FIND TestRecordType WITH TestDoubleProperty = NaN", unique=True)
assert math.isnan(test1.get_property("TestDoubleProperty").value)
......@@ -1256,7 +1256,6 @@ def test_check_entity_acl_roles():
db.administration.set_server_property(
"CHECK_ENTITY_ACL_ROLES_MODE", "MUST")
p = db.Property(name="TestP", datatype=db.TEXT,
description="test_check_entity_acl_roles").insert()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment