fix: fix woodpecker pipelines
Some checks failed
ci/woodpecker/pr/lints Pipeline failed
ci/woodpecker/pr/tests Pipeline was successful
ci/woodpecker/pr/types Pipeline failed

This commit is contained in:
2026-04-26 10:29:02 +03:00
parent 32b8b4d02b
commit 725908a864
24 changed files with 301 additions and 109 deletions

View File

@@ -1,18 +1,20 @@
# Integration test fixtures
# Provides: test database, external service connections
from typing import Generator
import pytest
@pytest.fixture
def test_db_connection():
def test_db_connection() -> Generator[str, None, None]:
"""Create test database connection."""
# TODO: Implement when DB is added to project
yield "test_db"
@pytest.fixture
def cleanup_db():
def cleanup_db() -> Generator[None, None, None]:
"""Cleanup database after test."""
yield
# TODO: Implement cleanup logic