pytest_pyramid
Package status
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.2.0
[feature] support pyramid’s config inheritance with use = config:other.file.ini - Thanks Eric Hulser
[feature] dropped support for python 3.2, added support for python 3.4 and 3.5
0.1.1
make factories condition to check parameters against None
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.2.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.2.0.tar.gz | 11.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pytest_pyramid-0.2.0-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details |
Total release size: 19.3 kB
Release files / pytest_pyramid-0.2.0.tar.gz
| Download URL | pytest_pyramid-0.2.0.tar.gz |
|---|---|
| Size | 11.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
67e40761c7c10640a617e2bb7c0dbe3688d054778765d6e0b585afe347d7857e
|
|
BLAKE2b-256 checksum How to use checksums |
a593adfd44a3e90263d2f43c14ba9aacc148a4c882a4ee60ad6ba4ad1c72eacf
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / pytest_pyramid-0.2.0-py2.py3-none-any.whl
| Download URL | pytest_pyramid-0.2.0-py2.py3-none-any.whl |
|---|---|
| Size | 8.0 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
af8d53c9c6bc5afcac26dd9e6c300f62608dcef82ff0ffbfd18bf043c1e3f8f6
|
|
BLAKE2b-256 checksum How to use checksums |
576a0da2e9d4dee50d361514bedbeffa168f5926d124f5d72768d9a83f7d5137
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |