mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 08:58:59 +00:00
adjust "CLI Example" test
This commit is contained in:
parent
7d4739da2f
commit
176ab16f40
@ -66,7 +66,7 @@ class SysModuleTest(integration.ModuleCase):
|
||||
continue
|
||||
if not isinstance(docs[fun], basestring):
|
||||
nodoc.add(fun)
|
||||
elif not re.search(r'([E|e]xample(?:s)?)+(?:.*)::', docs[fun]):
|
||||
elif not re.search(r'([E|e]xample(?:s)?)+(?:.*)::?', docs[fun]):
|
||||
noexample.add(fun)
|
||||
|
||||
if not nodoc and not noexample:
|
||||
|
Loading…
Reference in New Issue
Block a user