HTTP 交互模拟库 VCR.py

码农软件 · 软件分类 · 测试工具 · 2019-11-23 08:44:19

软件介绍

VCR.py 可自动化的模拟你的 HTTP 交互来简化和加速测试。VCR.py 是 Ruby 版本的 VCR 的 Python 移植版本。

使用方法:

import vcr
import urllib2

with vcr.use_cassette('fixtures/vcr_cassettes/synopsis.yaml'):
    response = urllib2.urlopen('http://www.iana.org/domains/reserved').read()
    assert 'Example domains' in response

本文地址:https://codercto.com/soft/d/19599.html

The Haskell School of Music

The Haskell School of Music

Paul Hudak、Donya Quick / Cambridge University Press / 2018-10-4 / GBP 42.99

This book teaches functional programming through creative applications in music and sound synthesis. Readers will learn the Haskell programming language and explore numerous ways to create music and d......一起来看看 《The Haskell School of Music》 这本书的介绍吧!

CSS 压缩/解压工具
CSS 压缩/解压工具

在线压缩/解压 CSS 代码

JSON 在线解析
JSON 在线解析

在线 JSON 格式化工具

html转js在线工具
html转js在线工具

html转js在线工具