pytest pyramid providing basic fixtures for testing pyramid applications with pytest test suite
Project description
pytest_pyramid provides basic fixtures for testing pyramid applications with pytest test suite.
By default, pytest_pyramid will create two fixtures: pyramid_config, which creates configurator based on config.ini file, and pyramid_app, which creates TestApp based on Configurator returned by pyramid_config.
Command line options
–pc - pyramid configuration file based on which pytest_pyramid will create test app
Documentation
TODO
This goal should make it in to 1.0 major release.
provide a pyramid_proc fixture that will start pyramid app process using summon_process
Tests
To run tests run this command:
py.test –pc tests/pyramid.test.ini
CHANGES
0.1.0
initial release
pyramid_config fixture factory and default fixture
pyramid_app fixture factory and default fixture
documentation
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
Hashes for pytest_pyramid-0.1.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7469273a2b72535fd8b65b384aca5531ea49ef4296f3fa83ee4773298352e42e |
|
MD5 | 81c29d07f7de6b83c1fa4a7bd349ae60 |
|
BLAKE2b-256 | 35f9cb99ee3da6cb873a20c5fd5555adf642784e81085de2000af5966e6ff959 |