From bd26bb8daf2cab8aa7df96f7b7d6ce95eb7e54e9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= Date: Thu, 22 Aug 2024 13:02:17 +0200 Subject: [PATCH] fix format --- tests/direnv_project.py | 2 +- tests/root.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/direnv_project.py b/tests/direnv_project.py index 317ae27..1a2ac9e 100644 --- a/tests/direnv_project.py +++ b/tests/direnv_project.py @@ -31,7 +31,7 @@ class DirenvProject: run(["direnv", "allow"], cwd=self.directory) -@pytest.fixture() +@pytest.fixture def direnv_project(test_root: Path, project_root: Path) -> Iterator[DirenvProject]: """ Setups a direnv test project diff --git a/tests/root.py b/tests/root.py index a5bf399..b3f0914 100644 --- a/tests/root.py +++ b/tests/root.py @@ -6,7 +6,7 @@ TEST_ROOT = Path(__file__).parent.resolve() PROJECT_ROOT = TEST_ROOT.parent -@pytest.fixture() +@pytest.fixture def test_root() -> Path: """ Root directory of the tests @@ -14,7 +14,7 @@ def test_root() -> Path: return TEST_ROOT -@pytest.fixture() +@pytest.fixture def project_root() -> Path: """ Root directory of the tests