mirror of
https://github.com/python/cpython.git
synced 2025-08-15 06:10:47 +00:00
testing a full check case
This commit is contained in:
parent
942825f7de
commit
c2936b786a
2 changed files with 8 additions and 1 deletions
|
@ -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)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue