Skip to main content

Common fixtures for pytest

Project description

pytest-fixtures

Common fixtures for pytest

Click Fixtures

Fixtures for Click <http://click.pocoo.org/>

def test_cli(cli_runner):
    result = cli_runner.invoke( ... )                       # Prints out stdout/stderr from result with headings
    result = cli_runner.invoke_and_assert_exit(0, ... )     # Same as above and asserts exit code == 0

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-fixtures-0.0.3.tar.gz (4.8 kB view details)

Uploaded Source

File details

Details for the file pytest-fixtures-0.0.3.tar.gz.

File metadata

File hashes

Hashes for pytest-fixtures-0.0.3.tar.gz
Algorithm Hash digest
SHA256 1b6650576e4fc03f191c305c55d04b541f2a96d36e50494f2ab1d9e6916f67fb
MD5 fc40f24fab1028ce0662a161344c0f5a
BLAKE2b-256 6fe67dbdafba33c6ff147988bb02e6d6a06f1eefef201e4d38c7eeb5d60ea895

See more details on using hashes here.

Supported by

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