Skip to main content

pytest_pyramid

Tests for RandomWords Coverage Status Requirements 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

http://pytest-pyramid.readthedocs.org/en/latest/

TODO

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

Tests

To run tests run this command:

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

CHANGES

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.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pytest-pyramid 0.1.1
File Size Uploaded
pytest_pyramid-0.1.1.tar.gz 11.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pytest-pyramid 0.1.1
File Interpreter ABI Platform
pytest_pyramid-0.1.1-py2.py3-none-any.whl Python 3, Python 2 none any Details

Total release size: 17.8 kB

Release files / pytest_pyramid-0.1.1.tar.gz

Download URL pytest_pyramid-0.1.1.tar.gz
Size 11.0 kB
Tags Source
SHA-256 checksum
How to use checksums
d35e4c0d85034186f93766362c47334ad545d6af2bb0c90dfce49d0332ed5ad8
BLAKE2b-256 checksum
How to use checksums
b612eb478d55417367676cfa658d684c15ec3cea663d7ab55d26af5681706c85
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / pytest_pyramid-0.1.1-py2.py3-none-any.whl

Download URL pytest_pyramid-0.1.1-py2.py3-none-any.whl
Size 6.7 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
44d887f90bec25c7af51fad0f90272c025230fd394215bbfc71f383bf6dd3c3b
BLAKE2b-256 checksum
How to use checksums
0b1c8924438939ea820286d6bea22b0e1859864efd6000b8abfa1229475dcea9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

2.0.0

2 release files

1.1.1

2 release files

1.1.0

2 release files

1.0.4

2 release files

1.0.3

2 release files

1.0.2

2 release files

1.0.1

2 release files

1.0.0

2 release files

0.3.3

2 release files

0.3.2

2 release files

0.3.1

2 release files

0.3.0

2 release files

0.2.0

2 release files

This release

0.1.1 This release

2 release files

0.1.0

3 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page