From 66329c57239f98bd66976cf7e2f5a23e0a35c465 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Henrik=20tom=20W=C3=B6rden?= <henrik@trineo.org>
Date: Fri, 1 Nov 2019 11:47:32 +0100
Subject: [PATCH] STY: white space changes

---
 tests/test_double.py      | 5 ++++-
 tests/test_file.py        | 8 ++++----
 tests/test_permissions.py | 1 -
 3 files changed, 8 insertions(+), 6 deletions(-)

diff --git a/tests/test_double.py b/tests/test_double.py
index 6cfedde..041a060 100644
--- a/tests/test_double.py
+++ b/tests/test_double.py
@@ -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)
diff --git a/tests/test_file.py b/tests/test_file.py
index f0f616c..013a470 100644
--- a/tests/test_file.py
+++ b/tests/test_file.py
@@ -501,9 +501,9 @@ def test_insert_files_in_dir_error1():
 @with_setup(setup, teardown)
 def test_insert_files_in_dir_with_symlink():
     path = get_config().get("IntegrationTests",
-                "test_files.test_insert_files_in_dir.local") + "testfolder/"
+                            "test_files.test_insert_files_in_dir.local") + "testfolder/"
     path_on_server = get_config().get("IntegrationTests",
-                "test_files.test_insert_files_in_dir.server") + "testfolder/"
+                                      "test_files.test_insert_files_in_dir.server") + "testfolder/"
     try:
 
         # create file in a server-readable directory
@@ -578,9 +578,9 @@ def test_insert_files_in_dir_with_symlink():
 @with_setup(None, teardown)
 def test_insert_files_in_dir():
     path = get_config().get("IntegrationTests",
-                "test_files.test_insert_files_in_dir.local") + "testfolder/"
+                            "test_files.test_insert_files_in_dir.local") + "testfolder/"
     path_on_server = get_config().get("IntegrationTests",
-                "test_files.test_insert_files_in_dir.server") + "testfolder/"
+                                      "test_files.test_insert_files_in_dir.server") + "testfolder/"
     try:
         os.makedirs(path)
         os.makedirs(path + "subfolder/")
diff --git a/tests/test_permissions.py b/tests/test_permissions.py
index 7a9d3b8..a049667 100644
--- a/tests/test_permissions.py
+++ b/tests/test_permissions.py
@@ -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()
 
-- 
GitLab