├── .coveragerc ├── .github ├── ISSUE_TEMPLATE.rst ├── PULL_REQUEST_TEMPLATE.rst ├── dependabot.yml └── workflows │ ├── automerge.yml │ ├── build.yml │ ├── dockerised-postgres.yml │ ├── oldest-postgres.yml │ ├── pr-check.yml │ ├── pre-commit.yml │ ├── pypi.yml │ ├── single-postgres.yml │ └── tests.yml ├── .gitignore ├── .pre-commit-config.yaml ├── .rstcheck.cfg ├── AUTHORS.rst ├── CHANGES.rst ├── CONTRIBUTING.rst ├── COPYING ├── COPYING.lesser ├── MANIFEST.in ├── Pipfile ├── README.rst ├── logo.png ├── logo.svg ├── newsfragments ├── +3d7c1dfd.misc.rst ├── +41973b70.misc.rst ├── +6028688d.break.rst ├── +910e271c.feature.rst ├── +a216cec3.misc.rst ├── .gitignore ├── 1148.bugfix.rst └── 1218.misc.rst ├── oldest └── requirements.txt ├── pyproject.oldest.toml ├── pyproject.toml ├── pytest_postgresql ├── __init__.py ├── config.py ├── exceptions.py ├── executor.py ├── executor_noop.py ├── factories │ ├── __init__.py │ ├── client.py │ ├── noprocess.py │ └── process.py ├── janitor.py ├── loader.py ├── plugin.py ├── py.typed └── retry.py └── tests ├── __init__.py ├── conftest.py ├── docker └── test_noproc_docker.py ├── examples ├── test.sql ├── test_assert_port_search_count_is_ten.py ├── test_drop_test_database.py ├── test_load.py └── test_postgres_options.py ├── loader.py ├── test_config.py ├── test_executor.py ├── test_janitor.py ├── test_loader.py ├── test_noopexecutor.py ├── test_postgres_options_plugin.py ├── test_postgresql.py ├── test_sql ├── eidastats.sql ├── test.sql └── test2.sql ├── test_template_database.py └── test_version.py /.coveragerc: -------------------------------------------------------------------------------- 1 | [run] 2 | source = pytest_postgresql 3 | -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dbfixtures/pytest-postgresql/HEAD/.github/ISSUE_TEMPLATE.rst -------------------------------------------------------------------------------- /.github/PULL_REQUEST_TEMPLATE.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dbfixtures/pytest-postgresql/HEAD/.github/PULL_REQUEST_TEMPLATE.rst -------------------------------------------------------------------------------- /.github/dependabot.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dbfixtures/pytest-postgresql/HEAD/.github/dependabot.yml -------------------------------------------------------------------------------- /.github/workflows/automerge.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dbfixtures/pytest-postgresql/HEAD/.github/workflows/automerge.yml -------------------------------------------------------------------------------- /.github/workflows/build.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dbfixtures/pytest-postgresql/HEAD/.github/workflows/build.yml -------------------------------------------------------------------------------- /.github/workflows/dockerised-postgres.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dbfixtures/pytest-postgresql/HEAD/.github/workflows/dockerised-postgres.yml -------------------------------------------------------------------------------- /.github/workflows/oldest-postgres.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dbfixtures/pytest-postgresql/HEAD/.github/workflows/oldest-postgres.yml -------------------------------------------------------------------------------- /.github/workflows/pr-check.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dbfixtures/pytest-postgresql/HEAD/.github/workflows/pr-check.yml -------------------------------------------------------------------------------- /.github/workflows/pre-commit.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dbfixtures/pytest-postgresql/HEAD/.github/workflows/pre-commit.yml -------------------------------------------------------------------------------- /.github/workflows/pypi.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dbfixtures/pytest-postgresql/HEAD/.github/workflows/pypi.yml -------------------------------------------------------------------------------- /.github/workflows/single-postgres.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dbfixtures/pytest-postgresql/HEAD/.github/workflows/single-postgres.yml -------------------------------------------------------------------------------- /.github/workflows/tests.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dbfixtures/pytest-postgresql/HEAD/.github/workflows/tests.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dbfixtures/pytest-postgresql/HEAD/.gitignore -------------------------------------------------------------------------------- /.pre-commit-config.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dbfixtures/pytest-postgresql/HEAD/.pre-commit-config.yaml -------------------------------------------------------------------------------- /.rstcheck.cfg: -------------------------------------------------------------------------------- 1 | [rstcheck] 2 | report_level = warning 3 | -------------------------------------------------------------------------------- /AUTHORS.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dbfixtures/pytest-postgresql/HEAD/AUTHORS.rst -------------------------------------------------------------------------------- /CHANGES.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dbfixtures/pytest-postgresql/HEAD/CHANGES.rst -------------------------------------------------------------------------------- /CONTRIBUTING.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dbfixtures/pytest-postgresql/HEAD/CONTRIBUTING.rst -------------------------------------------------------------------------------- /COPYING: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dbfixtures/pytest-postgresql/HEAD/COPYING -------------------------------------------------------------------------------- /COPYING.lesser: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dbfixtures/pytest-postgresql/HEAD/COPYING.lesser -------------------------------------------------------------------------------- /MANIFEST.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dbfixtures/pytest-postgresql/HEAD/MANIFEST.in -------------------------------------------------------------------------------- /Pipfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dbfixtures/pytest-postgresql/HEAD/Pipfile -------------------------------------------------------------------------------- /README.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dbfixtures/pytest-postgresql/HEAD/README.rst -------------------------------------------------------------------------------- /logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dbfixtures/pytest-postgresql/HEAD/logo.png -------------------------------------------------------------------------------- /logo.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dbfixtures/pytest-postgresql/HEAD/logo.svg -------------------------------------------------------------------------------- /newsfragments/+3d7c1dfd.misc.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dbfixtures/pytest-postgresql/HEAD/newsfragments/+3d7c1dfd.misc.rst -------------------------------------------------------------------------------- /newsfragments/+41973b70.misc.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dbfixtures/pytest-postgresql/HEAD/newsfragments/+41973b70.misc.rst -------------------------------------------------------------------------------- /newsfragments/+6028688d.break.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dbfixtures/pytest-postgresql/HEAD/newsfragments/+6028688d.break.rst -------------------------------------------------------------------------------- /newsfragments/+910e271c.feature.rst: -------------------------------------------------------------------------------- 1 | Marked support for Python 3.14 2 | -------------------------------------------------------------------------------- /newsfragments/+a216cec3.misc.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dbfixtures/pytest-postgresql/HEAD/newsfragments/+a216cec3.misc.rst -------------------------------------------------------------------------------- /newsfragments/.gitignore: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /newsfragments/1148.bugfix.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dbfixtures/pytest-postgresql/HEAD/newsfragments/1148.bugfix.rst -------------------------------------------------------------------------------- /newsfragments/1218.misc.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dbfixtures/pytest-postgresql/HEAD/newsfragments/1218.misc.rst -------------------------------------------------------------------------------- /oldest/requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dbfixtures/pytest-postgresql/HEAD/oldest/requirements.txt -------------------------------------------------------------------------------- /pyproject.oldest.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dbfixtures/pytest-postgresql/HEAD/pyproject.oldest.toml -------------------------------------------------------------------------------- /pyproject.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dbfixtures/pytest-postgresql/HEAD/pyproject.toml -------------------------------------------------------------------------------- /pytest_postgresql/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dbfixtures/pytest-postgresql/HEAD/pytest_postgresql/__init__.py -------------------------------------------------------------------------------- /pytest_postgresql/config.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dbfixtures/pytest-postgresql/HEAD/pytest_postgresql/config.py -------------------------------------------------------------------------------- /pytest_postgresql/exceptions.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dbfixtures/pytest-postgresql/HEAD/pytest_postgresql/exceptions.py -------------------------------------------------------------------------------- /pytest_postgresql/executor.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dbfixtures/pytest-postgresql/HEAD/pytest_postgresql/executor.py -------------------------------------------------------------------------------- /pytest_postgresql/executor_noop.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dbfixtures/pytest-postgresql/HEAD/pytest_postgresql/executor_noop.py -------------------------------------------------------------------------------- /pytest_postgresql/factories/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dbfixtures/pytest-postgresql/HEAD/pytest_postgresql/factories/__init__.py -------------------------------------------------------------------------------- /pytest_postgresql/factories/client.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dbfixtures/pytest-postgresql/HEAD/pytest_postgresql/factories/client.py -------------------------------------------------------------------------------- /pytest_postgresql/factories/noprocess.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dbfixtures/pytest-postgresql/HEAD/pytest_postgresql/factories/noprocess.py -------------------------------------------------------------------------------- /pytest_postgresql/factories/process.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dbfixtures/pytest-postgresql/HEAD/pytest_postgresql/factories/process.py -------------------------------------------------------------------------------- /pytest_postgresql/janitor.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dbfixtures/pytest-postgresql/HEAD/pytest_postgresql/janitor.py -------------------------------------------------------------------------------- /pytest_postgresql/loader.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dbfixtures/pytest-postgresql/HEAD/pytest_postgresql/loader.py -------------------------------------------------------------------------------- /pytest_postgresql/plugin.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dbfixtures/pytest-postgresql/HEAD/pytest_postgresql/plugin.py -------------------------------------------------------------------------------- /pytest_postgresql/py.typed: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /pytest_postgresql/retry.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dbfixtures/pytest-postgresql/HEAD/pytest_postgresql/retry.py -------------------------------------------------------------------------------- /tests/__init__.py: -------------------------------------------------------------------------------- 1 | """Main test module.""" 2 | -------------------------------------------------------------------------------- /tests/conftest.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dbfixtures/pytest-postgresql/HEAD/tests/conftest.py -------------------------------------------------------------------------------- /tests/docker/test_noproc_docker.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dbfixtures/pytest-postgresql/HEAD/tests/docker/test_noproc_docker.py -------------------------------------------------------------------------------- /tests/examples/test.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dbfixtures/pytest-postgresql/HEAD/tests/examples/test.sql -------------------------------------------------------------------------------- /tests/examples/test_assert_port_search_count_is_ten.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dbfixtures/pytest-postgresql/HEAD/tests/examples/test_assert_port_search_count_is_ten.py -------------------------------------------------------------------------------- /tests/examples/test_drop_test_database.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dbfixtures/pytest-postgresql/HEAD/tests/examples/test_drop_test_database.py -------------------------------------------------------------------------------- /tests/examples/test_load.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dbfixtures/pytest-postgresql/HEAD/tests/examples/test_load.py -------------------------------------------------------------------------------- /tests/examples/test_postgres_options.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dbfixtures/pytest-postgresql/HEAD/tests/examples/test_postgres_options.py -------------------------------------------------------------------------------- /tests/loader.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dbfixtures/pytest-postgresql/HEAD/tests/loader.py -------------------------------------------------------------------------------- /tests/test_config.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dbfixtures/pytest-postgresql/HEAD/tests/test_config.py -------------------------------------------------------------------------------- /tests/test_executor.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dbfixtures/pytest-postgresql/HEAD/tests/test_executor.py -------------------------------------------------------------------------------- /tests/test_janitor.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dbfixtures/pytest-postgresql/HEAD/tests/test_janitor.py -------------------------------------------------------------------------------- /tests/test_loader.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dbfixtures/pytest-postgresql/HEAD/tests/test_loader.py -------------------------------------------------------------------------------- /tests/test_noopexecutor.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dbfixtures/pytest-postgresql/HEAD/tests/test_noopexecutor.py -------------------------------------------------------------------------------- /tests/test_postgres_options_plugin.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dbfixtures/pytest-postgresql/HEAD/tests/test_postgres_options_plugin.py -------------------------------------------------------------------------------- /tests/test_postgresql.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dbfixtures/pytest-postgresql/HEAD/tests/test_postgresql.py -------------------------------------------------------------------------------- /tests/test_sql/eidastats.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dbfixtures/pytest-postgresql/HEAD/tests/test_sql/eidastats.sql -------------------------------------------------------------------------------- /tests/test_sql/test.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dbfixtures/pytest-postgresql/HEAD/tests/test_sql/test.sql -------------------------------------------------------------------------------- /tests/test_sql/test2.sql: -------------------------------------------------------------------------------- 1 | INSERT INTO test_load VALUES(2, 1, 'z'); 2 | -------------------------------------------------------------------------------- /tests/test_template_database.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dbfixtures/pytest-postgresql/HEAD/tests/test_template_database.py -------------------------------------------------------------------------------- /tests/test_version.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dbfixtures/pytest-postgresql/HEAD/tests/test_version.py --------------------------------------------------------------------------------