skip to navigation
skip to content

pytest_pyramid 0.3.0

pytest pyramid providing basic fixtures for testing pyramid applications with pytest test suite


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


This goal should make it in to 1.0 major release.

  1. provide a pyramid_proc fixture that will start pyramid app process using summon_process


To run tests run this command:

py.test –pc tests/pyramid.test.ini



  • [feature] changed pyramid_config fixture scope to session.


  • [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


  • make factories condition to check parameters against None


  • initial release
  • pyramid_config fixture factory and default fixture
  • pyramid_app fixture factory and default fixture
  • documentation
File Type Py Version Uploaded on Size
pytest_pyramid-0.3.0-py2.py3-none-any.whl (md5) Python Wheel py2.py3 2017-02-07 7KB
pytest_pyramid-0.3.0.tar.gz (md5) Source 2017-02-07 12KB