summaryrefslogtreecommitdiffstats
path: root/Lib/distutils/tests/test_check.py
diff options
context:
space:
mode:
authorTarek Ziadé <ziade.tarek@gmail.com>2009-04-11 15:14:17 (GMT)
committerTarek Ziadé <ziade.tarek@gmail.com>2009-04-11 15:14:17 (GMT)
commitc2936b786a18a99eb657a4b32a0694c3a4bcc82a (patch)
treea49bca000f2ccf4f9444973f5913b59594b94330 /Lib/distutils/tests/test_check.py
parent942825f7de2b27dce73dccd4cd827dd86f409bba (diff)
downloadcpython-c2936b786a18a99eb657a4b32a0694c3a4bcc82a.zip
cpython-c2936b786a18a99eb657a4b32a0694c3a4bcc82a.tar.gz
cpython-c2936b786a18a99eb657a4b32a0694c3a4bcc82a.tar.bz2
testing a full check case
Diffstat (limited to 'Lib/distutils/tests/test_check.py')
-rw-r--r--Lib/distutils/tests/test_check.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/Lib/distutils/tests/test_check.py b/Lib/distutils/tests/test_check.py
index 443fa35..5e0c453 100644
--- a/Lib/distutils/tests/test_check.py
+++ b/Lib/distutils/tests/test_check.py
@@ -85,6 +85,13 @@ class CheckTestCase(support.LoggingSilencer,
cmd.check_restructuredtext()
self.assertEquals(cmd._warnings, 0)
+ def test_check_all(self):
+
+ metadata = {'url': 'xxx', 'author': 'xxx'}
+ self.assertRaises(DistutilsSetupError, self._run,
+ {}, **{'strict': 1,
+ 'restructuredtext': 1})
+
def test_suite():
return unittest.makeSuite(CheckTestCase)