mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Be aware of the different path separators
This commit is contained in:
parent
7e79b182b6
commit
b2b0764dd4
1 changed files with 3 additions and 3 deletions
|
@ -62,9 +62,9 @@ class DocTestCase(TestCase):
|
|||
# the page that documents to not use ":doc:", the doc/conf.py file
|
||||
# or the artifacts directory on nox CI test runs
|
||||
if 'man' in key \
|
||||
or '.tox/' in key \
|
||||
or '.nox/' in key \
|
||||
or 'artifacts/' in key \
|
||||
or '.tox{}'.format(os.sep) in key \
|
||||
or '.nox{}'.format(os.sep) in key \
|
||||
or 'artifacts{}'.format(os.sep) 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