style: fix formatting in src/tests/conftest.py

- Manually applied PEP 8 formatting (sorted imports, correct spacing) to `src/tests/conftest.py` to satisfy `poetry run black --check .` in CI.
- Retained the robust `try-import-except` logic for `trio` detection.

Co-authored-by: PR0M3TH3AN <[email protected]>
This commit is contained in:
google-labs-jules[bot]andPR0M3TH3AN committed 2026-02-27 03:43:38 +00:00
1 parent 7295807013
commit d84363ef83
1 file changed
+3 -1
+3 -1
View File
@@ -2,9 +2,9 @@ import importlib.util
import logging
import sys
from pathlib import Path
from types import SimpleNamespace
import pytest
from types import SimpleNamespace
from httpx import ASGITransport, AsyncClient
import bcrypt
@@ -33,10 +33,12 @@ from seedpass.core.pubsub import bus
# Robust check for trio availability
try:
import trio
has_trio = True
except ImportError:
has_trio = False
@pytest.fixture(
params=["asyncio"] + (["trio"] if has_trio else [])
)