python-requests-mock_0.7.0-2_all.deb


Advertisement

Description

python-requests-mock - mock out responses from the requests package - Python 2.x

Distribution: Ubuntu 16.04 LTS (Xenial Xerus)
Repository: Ubuntu Universe amd64
Package name: python-requests-mock
Package version: 0.7.0
Package release: 2
Package architecture: all
Package type: deb
Installed size: 103 B
Download size: 15.71 KB
Official Mirror: archive.ubuntu.com
requests-mock provides a building block to stub out the HTTP requests_ portions of your testing code. Everything in requests_ eventually goes through an adapter to do the transport work. requests-mock creates a custom adatper that allows you to predefine responses when certain URIs are called. There are then a number of methods provided to get the adapter used. This package contains the Python 2.x module.

Alternatives

    Download

    Source package: python-requests-mock

    Install Howto

    1. Update the package index:
      # sudo apt-get update
    2. Install python-requests-mock deb package:
      # sudo apt-get install python-requests-mock

    Files

    • /usr/lib/python2.7/dist-packages/requests_mock/__init__.py
    • /usr/lib/python2.7/dist-packages/requests_mock/adapter.py
    • /usr/lib/python2.7/dist-packages/requests_mock/compat.py
    • /usr/lib/python2.7/dist-packages/requests_mock/exceptions.py
    • /usr/lib/python2.7/dist-packages/requests_mock/mocker.py
    • /usr/lib/python2.7/dist-packages/requests_mock/response.py
    • /usr/lib/python2.7/dist-packages/requests_mock-0.7.0.egg-info/PKG-INFO
    • /usr/lib/python2.7/dist-packages/requests_mock-0.7.0.egg-info/dependency_links.txt
    • /usr/lib/python2.7/dist-packages/requests_mock-0.7.0.egg-info/not-zip-safe
    • /usr/lib/python2.7/dist-packages/requests_mock-0.7.0.egg-info/requires.txt
    • /usr/lib/python2.7/dist-packages/requests_mock-0.7.0.egg-info/top_level.txt
    • /usr/lib/python2.7/dist-packages/requests_mock/contrib/__init__.py
    • /usr/lib/python2.7/dist-packages/requests_mock/contrib/fixture.py
    • /usr/lib/python2.7/dist-packages/requests_mock/tests/__init__.py
    • /usr/lib/python2.7/dist-packages/requests_mock/tests/base.py
    • /usr/lib/python2.7/dist-packages/requests_mock/tests/test_adapter.py
    • /usr/lib/python2.7/dist-packages/requests_mock/tests/test_custom_matchers.py
    • /usr/lib/python2.7/dist-packages/requests_mock/tests/test_fixture.py
    • /usr/lib/python2.7/dist-packages/requests_mock/tests/test_matcher.py
    • /usr/lib/python2.7/dist-packages/requests_mock/tests/test_mocker.py
    • /usr/lib/python2.7/dist-packages/requests_mock/tests/test_response.py
    • /usr/share/doc/python-requests-mock/changelog.Debian.gz
    • /usr/share/doc/python-requests-mock/copyright

    Changelog

    2016-04-04 - Thomas Goirand <zigo@debian.org> python-requests-mock (0.7.0-2) unstable; urgency=medium [ Ondřej Nový ] * Fixed VCS URLs (https). [ Thomas Goirand ] * Uploading to unstable. * Standards-Version: 3.9.7 (no change). * Fixed debian/copyright ordering.

    2015-12-08 - Thomas Goirand <zigo@debian.org> python-requests-mock (0.7.0-1) experimental; urgency=medium * New upstream release.

    2015-04-28 - Thomas Goirand <zigo@debian.org> python-requests-mock (0.6.0-2) unstable; urgency=medium * Fixed Uploaders: field.

    2015-12-07 - Corey Bryant <corey.bryant@canonical.com> python-requests-mock (0.6.0-1) unstable; urgency=medium [ Thomas Goirand ] * New upstream release. * Fixed new python-requests required version. [ Corey Bryant ] * New upstream release. * d/rules: Switch UPSTREAM_GIT to github/openstack repo. * d/rules: Fail the build if tests fail.

    2014-07-12 - Thomas Goirand <zigo@debian.org> python-requests-mock (0.4.0-1) unstable; urgency=medium * Initial release. (Closes: #754537)

    Advertisement
    Advertisement