pytest_pyramid
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
Metadata
Release files for pytest-pyramid 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pytest_pyramid-0.1.0.tar.gz | 11.0 kB | Details |
Built distributions (wheels)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pytest_pyramid-0.1.0-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details |
| pytest_pyramid-0.1.0-py2.7.egg | Legacy Egg format | - | - | Details |
Total release size: 25.4 kB
Release files / pytest_pyramid-0.1.0.tar.gz
| Download URL | pytest_pyramid-0.1.0.tar.gz |
|---|---|
| Size | 11.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4aeaa90170b01f1f7739c42ec964e4a9887eb447ea46c21ab82a965de550e943
|
|
BLAKE2b-256 checksum How to use checksums |
e307b77dfe25f1cf2dea3bc2529e1b5987d9ba7191ba216b4d30d4e30ef3b40d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / pytest_pyramid-0.1.0-py2.py3-none-any.whl
| Download URL | pytest_pyramid-0.1.0-py2.py3-none-any.whl |
|---|---|
| Size | 6.7 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
7469273a2b72535fd8b65b384aca5531ea49ef4296f3fa83ee4773298352e42e
|
|
BLAKE2b-256 checksum How to use checksums |
35f9cb99ee3da6cb873a20c5fd5555adf642784e81085de2000af5966e6ff959
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / pytest_pyramid-0.1.0-py2.7.egg
| Download URL | pytest_pyramid-0.1.0-py2.7.egg |
|---|---|
| Size | 7.7 kB |
| Tags | Egg |
|
SHA-256 checksum How to use checksums |
b2a256290e248527e616fc0f572fced771cc855adfcc805f90bf7f279e9306d6
|
|
BLAKE2b-256 checksum How to use checksums |
4513bb62dac432ffbcc6880cef8c8b8e895491b0daff185ba60ff9125b0b610d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |