Parents (Total: 2)
The searched file hash is included in 2 parent files which include package known and seen by metalookup. A sample is included below:
Key |
Value |
MD5 | 5B8785CBEEF93AF07A9448E5816373BA |
PackageArch | noarch |
PackageDescription | 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::
@fudge.patch('smtplib.SMTP')
def test_mailer(FakeSMTP):
(FakeSMTP.expects_call()
.expects('connect')
.expects('sendmail').with_arg_count(3))
send_mail() |
PackageMaintainer | https://bugs.opensuse.org |
PackageName | python2-fudge |
PackageRelease | lp150.2.3 |
PackageVersion | 1.1.0 |
SHA-1 | 60DC069A7E153DB3A9A044E2B44D3BFC28881AAF |
SHA-256 | 3BF09D5211E6497B12EA7F1A764E47AE156FA6706799D8897E1C715D063D6597 |
Key |
Value |
MD5 | F5B77D1E78BC753A82C6DBD848B9E46B |
PackageArch | noarch |
PackageDescription | 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::
@fudge.patch('smtplib.SMTP')
def test_mailer(FakeSMTP):
(FakeSMTP.expects_call()
.expects('connect')
.expects('sendmail').with_arg_count(3))
send_mail() |
PackageMaintainer | https://bugs.opensuse.org |
PackageName | python2-fudge |
PackageRelease | lp151.3.3 |
PackageVersion | 1.1.0 |
SHA-1 | 18C8621522567E66C64891038C9AF50C1E61A076 |
SHA-256 | D83F07C4246563D3C12989FD6105B47E079349DC5071D4CC8027A6A50E695344 |