summaryrefslogtreecommitdiff
path: root/devel/py-mock/DESCR
diff options
context:
space:
mode:
authorgdt <gdt@pkgsrc.org>2011-01-29 14:53:14 +0000
committergdt <gdt@pkgsrc.org>2011-01-29 14:53:14 +0000
commita7005703c6979140d224e80643dfcf4c2aba19c1 (patch)
tree43a58907f5434abc7b19e297b49bffc609630b73 /devel/py-mock/DESCR
parent55cf8222eaf2200d1826c1a15f7b8efdea999a97 (diff)
downloadpkgsrc-a7005703c6979140d224e80643dfcf4c2aba19c1.tar.gz
Import py26-mock-0.7.0b4 as devel/py-mock.
mock is a Python module that provides a core Mock class. It removes the need to create a host of stubs throughout your test suite. After performing an action, you can make assertions about which methods / attributes were used and arguments they were called with. You can also specify return values and set needed attributes in the normal way.
Diffstat (limited to 'devel/py-mock/DESCR')
-rw-r--r--devel/py-mock/DESCR6
1 files changed, 6 insertions, 0 deletions
diff --git a/devel/py-mock/DESCR b/devel/py-mock/DESCR
new file mode 100644
index 00000000000..0b583770be4
--- /dev/null
+++ b/devel/py-mock/DESCR
@@ -0,0 +1,6 @@
+mock is a Python module that provides a core Mock class. It removes
+the need to create a host of stubs throughout your test suite. After
+performing an action, you can make assertions about which methods /
+attributes were used and arguments they were called with. You can
+also specify return values and set needed attributes in the normal
+way.