Skip to main content
Join the official 2020 Python Developers SurveyStart the survey!

Allow setting the path to a paste config file

Project description

pytest plugin to all passing the path to a paste config file

Usage

install/update via:

pip install -U pytest-paste-config

and to run tests type:

py.test

Rationale

This plugin is written purely so that I can do:

def test_connection(pytestconfig):
engine = engine_from_config(pytestconfig.paste_file) models.Base.metadata.create_all(engine) # some test code…

and then run:

py.test –paste-file testing.ini

Project details


Release history Release notifications | RSS feed

This version

0.1

Download files

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

Files for pytest-paste-config, version 0.1
Filename, size File type Python version Upload date Hashes
Filename, size pytest-paste-config-0.1.tar.gz (1.5 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page