From f6bac3e6adc276811e369aeaee47d20d1f34d5f6 Mon Sep 17 00:00:00 2001
From: Florian Spreckelsen <f.spreckelsen@indiscale.com>
Date: Fri, 6 Dec 2024 17:02:25 +0100
Subject: [PATCH] STY: autopep8'd

---
 unittests/test_scanner.py   | 5 +++--
 unittests/test_utilities.py | 3 ++-
 2 files changed, 5 insertions(+), 3 deletions(-)

diff --git a/unittests/test_scanner.py b/unittests/test_scanner.py
index 60ab2591..120d804c 100644
--- a/unittests/test_scanner.py
+++ b/unittests/test_scanner.py
@@ -128,9 +128,10 @@ def test_record_structure_generation():
     assert subd[0]["identifier"] == "climate-model-predict"
     assert subd[0]["Project"].__class__ == db.Record
 
-    assert subd[0]["DataAnalysis"] == os.path.join("examples_article" , "DataAnalysis")
+    assert subd[0]["DataAnalysis"] == os.path.join("examples_article", "DataAnalysis")
     assert subc[0]["DataAnalysis"] is True
-    assert subd[0]["project_dir"] == os.path.join("examples_article", "DataAnalysis", "2020_climate-model-predict")
+    assert subd[0]["project_dir"] == os.path.join(
+        "examples_article", "DataAnalysis", "2020_climate-model-predict")
     assert subc[0]["project_dir"] is False
 
     # Check the copy flags for the first level in the hierarchy:
diff --git a/unittests/test_utilities.py b/unittests/test_utilities.py
index da1245b3..a9b05252 100644
--- a/unittests/test_utilities.py
+++ b/unittests/test_utilities.py
@@ -35,7 +35,8 @@ def test_split_restricted_path():
     assert split_restricted_path(f"{sep}test1{sep}test2{sep}bla") == ["test1", "test2", "bla"]
     assert split_restricted_path(f"{sep}test{sep}{sep}bla") == ["test", "bla"]
     assert split_restricted_path(f"{sep}{sep}test{sep}bla") == ["test", "bla"]
-    assert split_restricted_path(f"{sep}{sep}{sep}test{sep}{sep}bla{sep}{sep}{sep}{sep}") == ["test", "bla"]
+    assert split_restricted_path(
+        f"{sep}{sep}{sep}test{sep}{sep}bla{sep}{sep}{sep}{sep}") == ["test", "bla"]
 
 
 def test_dummy_class():
-- 
GitLab