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.3.2
add pyramid_config ini option
0.3.1
fixed pytest deprecation warning
0.3.0
[feature] changed pyramid_config fixture scope to session.
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.3.2
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.3.2.tar.gz | 13.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pytest_pyramid-0.3.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 20.5 kB
Release files / pytest_pyramid-0.3.2.tar.gz
| Download URL | pytest_pyramid-0.3.2.tar.gz |
|---|---|
| Size | 13.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2118531021d26ba363cbc4222966b6a8b39f41bcf9818e63c4ae9d21f31acf5e
|
|
BLAKE2b-256 checksum How to use checksums |
88de700d6ffc00e074199295cb4beab93c8ae23b33571e7e93c1bc507d8e8245
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/47.1.1 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.8.0
|
Release files / pytest_pyramid-0.3.2-py3-none-any.whl
| Download URL | pytest_pyramid-0.3.2-py3-none-any.whl |
|---|---|
| Size | 7.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
5c16ff016ecab6ab1a1d20840a95d52e9f3f18d896c04a884f0273ce02f678c5
|
|
BLAKE2b-256 checksum How to use checksums |
ab9cd1f8c62e5e7d4b013093b9e7724f3b5006330db58d828ae0f4ae43708a20
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/47.1.1 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.8.0
|