python-minimock_1.2.7-1build1_all.deb


Advertisement

Description

python-minimock - simple library for Python mock objects

Distribution: Ubuntu 16.04 LTS (Xenial Xerus)
Repository: Ubuntu Universe amd64
Package name: python-minimock
Package version: 1.2.7
Package release: 1build1
Package architecture: all
Package type: deb
Installed size: 77 B
Download size: 14.02 KB
Official Mirror: archive.ubuntu.com
minimock is a simple Python library for using mock objects. Its mock objects will report any access made to the mock object's interfaces. The programmer can easily make assertions about how mock objects are used in the test cases, by using the standard-library ‘doctest’ module to match the reported access against expected behaviour. Mock objects can return specified values, raise exceptions, etc. to simulate the mocked behaviour. Existing objects can optionally be replaced in-place in their namespace by a mock object, and restored safely after testing.

Alternatives

Provides

  • python2.7-minimock

    Download

    Source package: python-minimock

    Install Howto

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

    Files

    • /usr/lib/python2.7/dist-packages/minimock.py
    • /usr/lib/python2.7/dist-packages/MiniMock-1.2.7.egg-info/PKG-INFO
    • /usr/lib/python2.7/dist-packages/MiniMock-1.2.7.egg-info/SOURCES.txt
    • /usr/lib/python2.7/dist-packages/MiniMock-1.2.7.egg-info/dependency_links.txt
    • /usr/lib/python2.7/dist-packages/MiniMock-1.2.7.egg-info/top_level.txt
    • /usr/lib/python2.7/dist-packages/MiniMock-1.2.7.egg-info/zip-safe
    • /usr/share/doc/python-minimock/changelog.Debian.gz
    • /usr/share/doc/python-minimock/changelog.rst.gz
    • /usr/share/doc/python-minimock/copyright
    • /usr/share/doc/python-minimock/index.rst.gz

    Changelog

    2014-02-23 - Matthias Klose <doko@ubuntu.com> python-minimock (1.2.7-1build1) trusty; urgency=medium * Rebuild to drop files installed into /usr/share/pyshared.

    2012-04-08 - Ben Finney <ben+debian@benfinney.id.au> python-minimock (1.2.7-1) unstable; urgency=low * The “Sliding Days” release. * New upstream version. (Closes: bug#638579). * debian/control: + Declare “Standards-Version: 3.9.3”. No additional changes required. * debian/copyright: + Conform to copyright format version 1.0. + Update copyright information.

    2011-07-31 - Ben Finney <ben+debian@benfinney.id.au> python-minimock (1.2.6-2) unstable; urgency=low * The “Ingersoll” release. * debian/control: + Declare “Standards-Version: 3.9.2”. + Update ‘VCS-*’ fields for new Alioth layout. * debian/control, debian/rules: + Convert to ‘dh_python2’ packaging helper. + Add recommended build targets. + Increase minimum Debhelper version to support new targets. * debian/watch: + Refine upstream URL regex in line with current ‘uscan’ recommendations.

    2011-02-21 - Ben Finney <ben+debian@benfinney.id.au> python-minimock (1.2.6-1) unstable; urgency=low * New upstream version. (Closes: bug#614123). + Can now change tracker on a mock object after creation. + Improve doctest support. + Bug fixes. * debian/docs, debian/rules: + Update documentation filenames to match upstream. * debian/source/format: + Convert packaging to source format “3.0 (quilt)”. * debian/control: + Declare “Standards-Version: 3.9.1”. No further changes needed. + Specify the ‘VCS-Browser’ URL. + Clarify package description. + Set “Priority: optional” to allow other common packages to depend on this one.

    2009-08-07 - Ben Finney <ben+debian@benfinney.id.au> python-minimock (1.2.5-1) unstable; urgency=low * New upstream version: + Deprecate MockTracker. TraceTracker should be used instead. * debian/control: + Update to ‘Standards-Version: 3.8.2’. No changes required.

    2009-04-23 - Ben Finney <ben+debian@benfinney.id.au> python-minimock (1.2.3-1) unstable; urgency=low * New upstream version. + Can now suppress tracking for a Mock instance by specifying ‘tracker=None’. * debian/control, debian/rules: + Switch to ‘python-support’ for Python packaging. + Use nicer override handling from later ‘debhelper’ version.

    2009-03-26 - Ben Finney <ben+debian@benfinney.id.au> python-minimock (1.2.2-1) unstable; urgency=low * New upstream version. + Refined tracker output checking for irrelevant whitespace differences. + Documentation structure update. * debian/*: + Update copyright on Debian packaging. * debian/control: + ‘Build-Depends: python’ instead of ‘python-dev-all’. * debian/rules: + Install upstream changelog.

    2009-03-20 - Ben Finney <ben+debian@benfinney.id.au> python-minimock (1.2.1-1) unstable; urgency=low * New upstream version. + ‘mock’ now also searches built-in namespace by default. + New mock trackers. * debian/control: + Conform package to ‘Standards-Version: 3.8.1’.

    2009-01-09 - Ben Finney <ben+debian@benfinney.id.au> python-minimock (1.0-1) unstable; urgency=low * New upstream version. * debian/copyright: + Update fields to latest draft format version. + Wrap 'Format-Specification' field to observe line-length limit.

    2008-07-21 - Ben Finney <ben+debian@benfinney.id.au> python-minimock (0.9-1) unstable; urgency=low * New upstream version. * debian/copyright + Update fields to latest draft format version.

    Advertisement
    Advertisement