跳转到主要内容

未知

项目描述

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

入门

rebecca.testing为使用pyramid应用和pytest提供测试固定值。

安装

基本上用pip安装

$ pip install rebecca.testing

用法

配置固定值

配置固定值提供自动设置和拆除的虚拟配置

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)

贡献者

  • Atsushi Odagiri,原作者

变更日志

0.1 (2013-08-28)

  • 首次发布

项目详情


下载文件

下载适合您平台文件。如果您不确定选择哪个,请了解有关安装包的更多信息。

源分布

rebecca.testing-0.1.zip (5.8 kB 查看哈希)

上传时间:

由以下支持

AWS AWS 云计算和安全赞助商 Datadog Datadog 监控 Fastly Fastly CDN Google Google 下载分析 Microsoft Microsoft PSF 赞助商 Pingdom Pingdom 监控 Sentry Sentry 错误记录 StatusPage StatusPage 状态页面