Contents
rebecca.testing provides test fixtures for pyramid application using pytest.
install with pip basically:
$ pip install rebecca.testing
config fixture provides dummy config with automatic setup and teardown:
from pyramid import testing from rebecca.testing import config def test_it(config): config.include('your.app') from your.app.views import ClassUnderTheTest request = testing.DummyRequest() result = ClassUnserTheTest(request)