mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
remove tox virtualenvs from doc tests
This commit is contained in:
parent
e1872e2036
commit
8d15b93d00
1 changed files with 4 additions and 2 deletions
|
@ -59,9 +59,11 @@ class DocTestCase(TestCase):
|
|||
key, val = regex.split(line, 1)
|
||||
|
||||
# Don't test man pages, this file,
|
||||
# the page that documents to not use ":doc:", or
|
||||
# the doc/conf.py file
|
||||
# the tox virtualenv files, the page
|
||||
# that documents to not use ":doc:",
|
||||
# or the doc/conf.py file
|
||||
if 'man' in key \
|
||||
or '.tox/' in key \
|
||||
or key.endswith('test_doc.py') \
|
||||
or key.endswith(os.sep.join(['doc', 'conf.py'])) \
|
||||
or key.endswith(os.sep.join(['conventions', 'documentation.rst'])) \
|
||||
|
|
Loading…
Add table
Reference in a new issue