From a91fc73072c1c7dbc89a1f607194b82c2b754e58 Mon Sep 17 00:00:00 2001 From: florian Date: Wed, 13 Jul 2022 15:25:32 +0200 Subject: [PATCH] tests - fix indent and isfile import --- tests/DockerTest.py | 4 ++-- tests/main.py | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/tests/DockerTest.py b/tests/DockerTest.py index 6f3d2efbe..da4aa88fa 100644 --- a/tests/DockerTest.py +++ b/tests/DockerTest.py @@ -7,8 +7,8 @@ from subprocess import run class DockerTest(Test) : - def __init__(self, name, timeout, tests) : - super().__init__(name, "docker", timeout, tests) + def __init__(self, name, timeout, tests) : + super().__init__(name, "docker", timeout, tests) self.__domains = { r"www\.example\.com": getenv("TEST_DOMAIN1"), r"auth\.example\.com": getenv("TEST_DOMAIN1"), diff --git a/tests/main.py b/tests/main.py index 6d354d19e..dc1b41175 100755 --- a/tests/main.py +++ b/tests/main.py @@ -2,7 +2,8 @@ from sys import path, argv, exit from glob import glob -from os import getcwd, isfile +from os import getcwd +from os.path import isfile path.append(getcwd() + "/utils") path.append(getcwd() + "/tests")