Files
blog.pyaqa.ru/tests/integration/conftest.py
Sergey Vanyushkin 66ce5ae746 init update (#1)
Co-authored-by: Sergey Vanyushkin <pi3c@yandex.ru>
Co-committed-by: Sergey Vanyushkin <pi3c@yandex.ru>
2026-04-25 17:47:07 +00:00

19 lines
377 B
Python

# Integration test fixtures
# Provides: test database, external service connections
import pytest
@pytest.fixture
def test_db_connection():
"""Create test database connection."""
# TODO: Implement when DB is added to project
yield "test_db"
@pytest.fixture
def cleanup_db():
"""Cleanup database after test."""
yield
# TODO: Implement cleanup logic