mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 17:09:03 +00:00
Correct small bug with docs test.
This commit is contained in:
parent
3336dbc02a
commit
b6dea5efb9
@ -100,7 +100,7 @@ class SysModuleTest(integration.ModuleCase):
|
||||
continue
|
||||
if isinstance(docs, dict) and not isinstance(docs[fun], six.string_types):
|
||||
nodoc.add(fun)
|
||||
elif not re.search(r'([E|e]xample(?:s)?)+(?:.*)::?', docs[fun]):
|
||||
elif isinstance(docs, dict) and not re.search(r'([E|e]xample(?:s)?)+(?:.*)::?', docs[fun]):
|
||||
noexample.add(fun)
|
||||
start += batch_size
|
||||
end += batch_size
|
||||
|
Loading…
Reference in New Issue
Block a user