summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Foord <michael@voidspace.org.uk>2011-07-15 13:17:28 +0100
committerMichael Foord <michael@voidspace.org.uk>2011-07-15 13:17:28 +0100
commiteeb713befd231c6c5c1cdd4dcf82774ca3e6b0ee (patch)
tree49296b0aacec5816a5101e6bed0f624cf88263ab
parent03622e7cc7a5725c38a1d3d7086e8cf11f1ee758 (diff)
downloadmock-eeb713befd231c6c5c1cdd4dcf82774ca3e6b0ee.tar.gz
Test for problem with patch.multiple and adding js to docs in package
-rw-r--r--MANIFEST.in2
-rw-r--r--tests/testpatch.py3
2 files changed, 3 insertions, 2 deletions
diff --git a/MANIFEST.in b/MANIFEST.in
index 8109b97..56f7fab 100644
--- a/MANIFEST.in
+++ b/MANIFEST.in
@@ -1,2 +1,2 @@
include tests/*.py
-recursive-include docs *.txt *.py *.png *.css *.html
+recursive-include docs *.txt *.py *.png *.css *.html *.js
diff --git a/tests/testpatch.py b/tests/testpatch.py
index ed8456a..7f33a7d 100644
--- a/tests/testpatch.py
+++ b/tests/testpatch.py
@@ -1401,7 +1401,7 @@ class PatchTest(unittest2.TestCase):
self.assertEqual(Foo.g, original_g)
- def DONTtest_patch_multiple_failure(self):
+ def test_patch_multiple_failure(self):
original_f = Foo.f
original_g = Foo.g
@@ -1423,5 +1423,6 @@ class PatchTest(unittest2.TestCase):
self.assertEqual(Foo.g, original_g)
+
if __name__ == '__main__':
unittest2.main()