Skip to main content
https://travis-ci.org/rebeccaframework/rebecca.testing.png?branch=master

Getting Started

rebecca.testing provides test fixtures for pyramid application using pytest.

install

install with pip basically:

$ pip install rebecca.testing

Usage

config fixture

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)

Contributors

  • Atsushi Odagiri, Original Author

Changelog

0.1 (2013-08-28)

  • first release

Release files for rebecca.testing 0.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 rebecca.testing 0.1
File Size Uploaded
rebecca.testing-0.1.zip 5.8 kB Details

Release files / rebecca.testing-0.1.zip

Download URL rebecca.testing-0.1.zip
Size 5.8 kB
Tags Source
SHA-256 checksum
How to use checksums
2a37789fb5d6599c958c94464e3d0c86fc68175265b850be1dea57027180bbc4
BLAKE2b-256 checksum
How to use checksums
61c12ed0650384eaf4db40b485061f7c17a822ef11f332e365a440bf41dd0495
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.1 This release

1 release file

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