Skip to main content

pytest plugin for testing applications that use psqlgraph

Project description

PyPi version CI status Documentation Status PyPi downloads

An extension for pytest provide useful tools for testing applications that use psqlgraph

How to Start

Install dependency

pip install pytest-psqlgraph

Define a session scoped psqlgraph_config fixture in

import pytest

def psqlgraph_config() -> Dict[str, DatabaseDriverConfig]:
    return {
        "pg_driver": DatabaseDriverConfig(

All set to start using the fixture pg_driver or whatever key was defined in the dictionary above

def test_something(pg_driver):
    with pg_driver.session_scoped() as s:


Don’t hesitate to create a Github issue for any bugs or suggestions or submit a PR.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pytest-psqlgraph-0.2.0rc2.dev4.tar.gz (24.3 kB view hashes)

Uploaded source

Built Distribution

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page