Skip to content

rebeccaframework/rebecca.testing

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

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)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages