Skip to main content

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

Release files for pytest-paste-config 0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pytest-paste-config 0.1
File Size Uploaded
pytest-paste-config-0.1.tar.gz 1.5 kB Details

Release files / pytest-paste-config-0.1.tar.gz

Download URL pytest-paste-config-0.1.tar.gz
Size 1.5 kB
Tags Source
SHA-256 checksum
How to use checksums
5737f1cf03a9e1f4064ff043d5978da10c5e93e50fee2d13ea5a855d4c7f6503
BLAKE2b-256 checksum
How to use checksums
34801add32d26d760cf795e3835e858a126b7e979185ff705e9463bdd4755071
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.1 This release

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page