python-fudge_1.1.0-1_all.deb


Advertisement

Description

python-fudge - Python 2 module for using fake objects for tests

Property Value
Distribution Ubuntu 16.04 LTS (Xenial Xerus)
Repository Ubuntu Universe amd64
Package name python-fudge
Package version 1.1.0
Package release 1
Package architecture all
Package type deb
Installed size 172 B
Download size 28.15 KB
Official Mirror archive.ubuntu.com
Fudge is a Python module for using fake objects (mocks and stubs) to
test real ones.
In readable Python code, you declare what methods are available on
your fake and how they should be called. Then you inject that into
your application and start testing. This declarative approach means
you don’t have to record and playback actions and you don’t have to
inspect your fakes after running code. If the fake object was used
incorrectly then you’ll see an informative exception message with a
traceback that points to the culprit.
Fudge was inspired by Mocha which is a simpler version of jMock. But
unlike Mocha, Fudge does not automatically hijack real objects; you
explicitly patch them in your test. And unlike jMock, Fudge is only
as strict about expectations as you want it to be. If the type of
arguments sent to the fake method aren’t important then you don’t
have to declare an expectation for them.
This is the Python 2 version of the package.

Alternatives

Package Version Architecture Repository
python-fudge_1.1.0-1_all.deb 1.1.0 all Ubuntu Universe
python-fudge - - -

Requires

Name Value
python-pkg-resources -
python:any << 2.8
python:any >= 2.7.5-5~

Download

Type URL
Binary Package python-fudge_1.1.0-1_all.deb
Source Package python-fudge

Install Howto

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

Files

Path
/usr/lib/python2.7/dist-packages/fudge/__init__.py
/usr/lib/python2.7/dist-packages/fudge/exc.py
/usr/lib/python2.7/dist-packages/fudge/inspector.py
/usr/lib/python2.7/dist-packages/fudge/patcher.py
/usr/lib/python2.7/dist-packages/fudge/util.py
/usr/lib/python2.7/dist-packages/fudge-1.1.0.egg-info/PKG-INFO
/usr/lib/python2.7/dist-packages/fudge-1.1.0.egg-info/dependency_links.txt
/usr/lib/python2.7/dist-packages/fudge-1.1.0.egg-info/top_level.txt
/usr/lib/python2.7/dist-packages/fudge/tests/__init__.py
/usr/lib/python2.7/dist-packages/fudge/tests/_py3_suite.py
/usr/lib/python2.7/dist-packages/fudge/tests/test_fudge.py
/usr/lib/python2.7/dist-packages/fudge/tests/test_import_all.py
/usr/lib/python2.7/dist-packages/fudge/tests/test_inspector.py
/usr/lib/python2.7/dist-packages/fudge/tests/test_inspector_import_all.py
/usr/lib/python2.7/dist-packages/fudge/tests/test_patcher.py
/usr/lib/python2.7/dist-packages/fudge/tests/test_registry.py
/usr/lib/python2.7/dist-packages/fudge/tests/support/__init__.py
/usr/lib/python2.7/dist-packages/fudge/tests/support/_for_patch.py
/usr/share/doc/python-fudge/changelog.Debian.gz
/usr/share/doc/python-fudge/copyright

Changelog

2015-12-30 - Jan Dittberner <jandd@debian.org>
python-fudge (1.1.0-1) unstable; urgency=low
[ Jakub Wilk ]
* Use canonical URIs for Vcs-* fields.
[ Jan Dittberner ]
* Use PyPI redirector for watch file
* fix package description mismatch in debian/control
* Apply patch by Juan Picca to have fixed timestamps to make the build
reproducible (Closes: #788501)
* Bump Standards-Version to 3.9.6 (no changes)
* Run wrap-and-sort
* Switch to dh-python/pybuild
* Update copyright years
* Build documentation in dh_auto_build step
* New upstream version
* Remove deletion of MacOS X files from dh_override_auto_clean,
because upstream removed them
* Re-Enable Python 3 tests
2012-05-24 - Jan Dittberner <jandd@debian.org>
python-fudge (1.0.3-3) unstable; urgency=low
* Fix "missing dependency on python3!!" by using correct variable in
debian/control (Closes: #674405)
* fix Vcs-Svn and Vcs-Browser URLs in debian/control
2012-05-04 - Jan Dittberner <jandd@debian.org>
python-fudge (1.0.3-2) unstable; urgency=low
* Fix "FTBFS if built twice in a row: aborting due to unexpected
upstream changes" by removing fudge.egg-info in debian/rules
override_auto_clean target (Closes: #671421)
2012-03-04 - Jan Dittberner <jandd@debian.org>
python-fudge (1.0.3-1) unstable; urgency=low
* Initial release. (Closes: #643566)

See Also

Package Description
python-funcparserlib_0.3.6-6_all.deb Recursive descent parsing library based on functional combinators
python-fuse_0.2.1-11_amd64.deb Python bindings for FUSE (Filesystems in USErland)
python-future-doc_0.15.2-1_all.deb Clean single-source support for Python 3 and 2 - doc
python-future_0.15.2-1_all.deb single-source support for Python 3 and 2 - Python 2.x
python-fuzzywuzzy_0.10.0-1_all.deb Fuzzy string matching in Python
python-fysom_2.1.2-1_all.deb pYthOn Finite State Machine
python-gabbi-doc_1.12.0-2_all.deb declarative HTTP testing library - doc
python-gabbi_1.12.0-2_all.deb declarative HTTP testing library - Python 2.x
python-gadfly_1.0.0-16_all.deb SQL database and parser generator for Python
python-galleryremote_0.6-1.1build1_all.deb Python library for accessing Gallery web installations
python-gamera-dev_3.4.2+svn1437-2_all.deb framework for document analysis applications (header files)
python-gamera.toolkits.greekocr_1.0.1-7_all.deb toolkit for building OCR systems for polytonal Greek
python-gamera.toolkits.ocr_1.2.2-2_all.deb toolkit for building OCR systems
python-gamera_3.4.2+svn1437-2_amd64.deb framework for building document analysis applications
python-gamin_0.1.10-5_amd64.deb Python binding for the gamin client library
Advertisement
Advertisement