fed8b2eed7
Build and push multi-arch DocsGPT Docker image / build (linux/amd64, ubuntu-latest, amd64) (push) Has been cancelled
Backend release / release (push) Has been cancelled
Bandit Security Scan / bandit_scan (push) Has been cancelled
Build and push multi-arch DocsGPT Docker image / build (linux/arm64, ubuntu-24.04-arm, arm64) (push) Has been cancelled
Build and push multi-arch DocsGPT Docker image / manifest (push) Has been cancelled
Build and push DocsGPT FE Docker image for development / build (linux/amd64, ubuntu-latest, amd64) (push) Has been cancelled
Build and push DocsGPT FE Docker image for development / build (linux/arm64, ubuntu-24.04-arm, arm64) (push) Has been cancelled
Build and push DocsGPT FE Docker image for development / manifest (push) Has been cancelled
Python linting / ruff (push) Has been cancelled
Run python tests with pytest / Run tests and count coverage (3.12) (push) Has been cancelled
React Widget Build / build (push) Has been cancelled
14 lines
526 B
Python
14 lines
526 B
Python
"""Fixtures for repository tests.
|
|
|
|
These tests exercise real SQL against a real Postgres schema. They used
|
|
to require a long-running Postgres (via ``POSTGRES_URI``) — that is no
|
|
longer the case. They now piggy-back on the ephemeral ``pg_conn`` fixture
|
|
defined in the root ``tests/conftest.py`` (backed by pytest-postgresql),
|
|
so CI and local runs don't need any external Postgres service.
|
|
|
|
Each test still runs inside a transaction that rolls back on teardown,
|
|
keeping tests hermetic.
|
|
"""
|
|
|
|
from __future__ import annotations
|