This repository has been archived by the owner on Apr 10, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
21 changed files
with
4,231 additions
and
0 deletions.
There are no files selected for viewing
46 changes: 46 additions & 0 deletions
46
vendor-local/lib/python/fudge-1.0.3-py2.7.egg-info/PKG-INFO
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
Metadata-Version: 1.0 | ||
Name: fudge | ||
Version: 1.0.3 | ||
Summary: Replace real objects with fakes (mocks, stubs, etc) while testing. | ||
Home-page: http://farmdev.com/projects/fudge/ | ||
Author: Kumar McMillan | ||
Author-email: kumar.mcmillan@gmail.com | ||
License: The MIT License | ||
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:: | ||
|
||
@fudge.patch('smtplib.SMTP') | ||
def test_mailer(FakeSMTP): | ||
# Declare how the SMTP class should be used: | ||
(FakeSMTP.expects_call() | ||
.expects('connect') | ||
.expects('sendmail').with_arg_count(3)) | ||
# Run production code: | ||
send_mail() | ||
# ...expectations are verified automatically at the end of the test | ||
|
||
|
||
Platform: UNKNOWN | ||
Classifier: Intended Audience :: Developers | ||
Classifier: Natural Language :: English | ||
Classifier: Operating System :: OS Independent | ||
Classifier: Programming Language :: Python :: 2 | ||
Classifier: Programming Language :: Python :: 3 | ||
Classifier: Programming Language :: Python :: 2.5 | ||
Classifier: Programming Language :: Python :: 2.6 | ||
Classifier: Programming Language :: Python :: 2.7 | ||
Classifier: Programming Language :: Python :: 3.1 | ||
Classifier: Programming Language :: Python :: 3.2 | ||
Classifier: Topic :: Software Development :: Testing |
52 changes: 52 additions & 0 deletions
52
vendor-local/lib/python/fudge-1.0.3-py2.7.egg-info/SOURCES.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
._README.txt | ||
LICENSE.txt | ||
MANIFEST.in | ||
README.txt | ||
run_tests.sh | ||
setup.cfg | ||
setup.py | ||
docs/._index.rst | ||
docs/._migrating-0.9-to-1.0.rst | ||
docs/._using-fudge.rst | ||
docs/Makefile | ||
docs/conf.py | ||
docs/index.rst | ||
docs/javascript.rst | ||
docs/migrating-0.9-to-1.0.rst | ||
docs/using-fudge.rst | ||
docs/why-fudge.rst | ||
docs/_doctest_support/models.py | ||
docs/_doctest_support/auth/.___init__.py | ||
docs/_doctest_support/auth/__init__.py | ||
docs/_doctest_support/oauthtwitter/__init__.py | ||
docs/_static/.hidden | ||
docs/api/._fudge.rst | ||
docs/api/fudge.inspector.rst | ||
docs/api/fudge.patcher.rst | ||
docs/api/fudge.rst | ||
fudge/__init__.py | ||
fudge/exc.py | ||
fudge/inspector.py | ||
fudge/patcher.py | ||
fudge/util.py | ||
fudge.egg-info/PKG-INFO | ||
fudge.egg-info/SOURCES.txt | ||
fudge.egg-info/dependency_links.txt | ||
fudge.egg-info/top_level.txt | ||
fudge/tests/__init__.py | ||
fudge/tests/_py3_suite.py | ||
fudge/tests/test_fudge.py | ||
fudge/tests/test_import_all.py | ||
fudge/tests/test_inspector.py | ||
fudge/tests/test_inspector_import_all.py | ||
fudge/tests/test_patcher.py | ||
fudge/tests/test_registry.py | ||
fudge/tests/support/__init__.py | ||
fudge/tests/support/_for_patch.py | ||
javascript/README.txt | ||
javascript/fudge/fudge.js | ||
javascript/fudge/testserver.py | ||
javascript/fudge/tests/test_fudge.html | ||
javascript/fudge/tests/test_fudge.js | ||
javascript/fudge/tests/jquery/jquery-1.2.6.js | ||
javascript/fudge/tests/jquery/qunit/testrunner.js |
1 change: 1 addition & 0 deletions
1
vendor-local/lib/python/fudge-1.0.3-py2.7.egg-info/dependency_links.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
|
35 changes: 35 additions & 0 deletions
35
vendor-local/lib/python/fudge-1.0.3-py2.7.egg-info/installed-files.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
../fudge/__init__.py | ||
../fudge/exc.py | ||
../fudge/inspector.py | ||
../fudge/patcher.py | ||
../fudge/util.py | ||
../fudge/tests/__init__.py | ||
../fudge/tests/_py3_suite.py | ||
../fudge/tests/test_fudge.py | ||
../fudge/tests/test_import_all.py | ||
../fudge/tests/test_inspector.py | ||
../fudge/tests/test_inspector_import_all.py | ||
../fudge/tests/test_patcher.py | ||
../fudge/tests/test_registry.py | ||
../fudge/tests/support/__init__.py | ||
../fudge/tests/support/_for_patch.py | ||
../fudge/__init__.pyc | ||
../fudge/exc.pyc | ||
../fudge/inspector.pyc | ||
../fudge/patcher.pyc | ||
../fudge/util.pyc | ||
../fudge/tests/__init__.pyc | ||
../fudge/tests/_py3_suite.pyc | ||
../fudge/tests/test_fudge.pyc | ||
../fudge/tests/test_import_all.pyc | ||
../fudge/tests/test_inspector.pyc | ||
../fudge/tests/test_inspector_import_all.pyc | ||
../fudge/tests/test_patcher.pyc | ||
../fudge/tests/test_registry.pyc | ||
../fudge/tests/support/__init__.pyc | ||
../fudge/tests/support/_for_patch.pyc | ||
./ | ||
dependency_links.txt | ||
PKG-INFO | ||
SOURCES.txt | ||
top_level.txt |
1 change: 1 addition & 0 deletions
1
vendor-local/lib/python/fudge-1.0.3-py2.7.egg-info/top_level.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
fudge |
Oops, something went wrong.