From a5d3c4d22a4fff4794dea62bf462bb2f8d9bdde0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim=20K=C3=A4chele?= Date: Tue, 22 Apr 2025 11:57:23 +0200 Subject: [PATCH] Format conftest file --- tests/conftest.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tests/conftest.py b/tests/conftest.py index a47b961..b625ad0 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -4,7 +4,7 @@ import sys # NOTE: Not sure if that was really necessary or whether this # is just my quirky venv setup CURRENT_DIR = os.path.dirname(os.path.abspath(__file__)) -PROJECT_ROOT = os.path.abspath(os.path.join(CURRENT_DIR, '..')) +PROJECT_ROOT = os.path.abspath(os.path.join(CURRENT_DIR, "..")) if PROJECT_ROOT not in sys.path: sys.path.insert(0, PROJECT_ROOT) @@ -12,8 +12,9 @@ if PROJECT_ROOT not in sys.path: import pytest as pytest from starlette.testclient import TestClient -from app.api import app import app.database as database +from app.api import app + @pytest.fixture def client() -> TestClient: