Fix broken test_autodoc

This commit is contained in:
Takeshi KOMIYA 2017-12-22 00:53:53 +09:00
parent 6f1818bb7e
commit e2e907b3ee

View File

@ -747,9 +747,8 @@ def test_generate():
# test ignore-module-all # test ignore-module-all
options.ignore_module_all = True options.ignore_module_all = True
assert_result_contains('.. py:class:: Class(arg)', 'module', 'test_autodoc') assert_result_contains('.. py:class:: Class(arg)', 'module', 'target')
assert_result_contains('.. py:exception:: CustomEx', 'module', assert_result_contains('.. py:exception:: CustomEx', 'module', 'target')
'test_autodoc')
# test noindex flag # test noindex flag
options.members = [] options.members = []