SEARCH
NEW RPMS
DIRECTORIES
ABOUT
FAQ
VARIOUS
BLOG

 
 

python2-fudge rpm build for : openSUSE Leap 15. For other distributions click python2-fudge.

Name : python2-fudge
Version : 1.1.0 Vendor : obs://build_opensuse_org/home:smarty12
Release : lp150.21.1 Date : 2019-01-01 18:21:51
Group : Development/Languages/Python Source RPM : python-fudge-1.1.0-lp150.21.1.src.rpm
Size : 1.08 MB
Packager : (none)
Summary : Replace real objects with fakes (mocks, stubs, etc) while testing
Description :
Complete documentation is available at http://farmdev.com/projects/fudge/

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.

Here is a quick preview of how you can test code that sends
email without actually sending email::

AATTfudge.patch(\'smtplib.SMTP\')
def test_mailer(FakeSMTP):

(FakeSMTP.expects_call()
.expects(\'connect\')
.expects(\'sendmail\').with_arg_count(3))

send_mail()

RPM found in directory: /packages/linux-pbone/ftp5.gwdg.de/pub/opensuse/repositories/home:/smarty12:/Python/RaspberryPi_Leap_15.0/noarch

Content of RPM  Changelog  Provides Requires

Hmm ... It's impossible ;-) This RPM doesn't exist on any FTP server

Provides :
python-fudge
python2-fudge

Requires :
python(abi) = 2.7
rpmlib(CompressedFileNames) <= 3.0.4-1
rpmlib(FileDigests) <= 4.6.0-1
rpmlib(PayloadFilesHavePrefix) <= 4.0-1
rpmlib(PayloadIsXz) <= 5.2-1


Content of RPM :
/usr/lib/python2.7/site-packages/fudge
/usr/lib/python2.7/site-packages/fudge-1.1.0-py2.7.egg-info
/usr/lib/python2.7/site-packages/fudge-1.1.0-py2.7.egg-info/PKG-INFO
/usr/lib/python2.7/site-packages/fudge-1.1.0-py2.7.egg-info/SOURCES.txt
/usr/lib/python2.7/site-packages/fudge-1.1.0-py2.7.egg-info/dependency_links.txt
/usr/lib/python2.7/site-packages/fudge-1.1.0-py2.7.egg-info/top_level.txt
/usr/lib/python2.7/site-packages/fudge/__init__.py
/usr/lib/python2.7/site-packages/fudge/__init__.pyc
/usr/lib/python2.7/site-packages/fudge/__init__.pyo
/usr/lib/python2.7/site-packages/fudge/exc.py
/usr/lib/python2.7/site-packages/fudge/exc.pyc
/usr/lib/python2.7/site-packages/fudge/exc.pyo
/usr/lib/python2.7/site-packages/fudge/inspector.py
/usr/lib/python2.7/site-packages/fudge/inspector.pyc
/usr/lib/python2.7/site-packages/fudge/inspector.pyo
/usr/lib/python2.7/site-packages/fudge/patcher.py
/usr/lib/python2.7/site-packages/fudge/patcher.pyc
/usr/lib/python2.7/site-packages/fudge/patcher.pyo
/usr/lib/python2.7/site-packages/fudge/tests
/usr/lib/python2.7/site-packages/fudge/tests/__init__.py
/usr/lib/python2.7/site-packages/fudge/tests/__init__.pyc
/usr/lib/python2.7/site-packages/fudge/tests/__init__.pyo
/usr/lib/python2.7/site-packages/fudge/tests/_py3_suite.py
/usr/lib/python2.7/site-packages/fudge/tests/_py3_suite.pyc
/usr/lib/python2.7/site-packages/fudge/tests/_py3_suite.pyo
/usr/lib/python2.7/site-packages/fudge/tests/support
/usr/lib/python2.7/site-packages/fudge/tests/support/__init__.py
/usr/lib/python2.7/site-packages/fudge/tests/support/__init__.pyc
/usr/lib/python2.7/site-packages/fudge/tests/support/__init__.pyo
/usr/lib/python2.7/site-packages/fudge/tests/support/_for_patch.py
There is 73 files more in these RPM.

 
ICM