Merge pull request #9092 from terminalmage/travis

Quiet travis failures for new functions missing docstrings
This commit is contained in:
Pedro Algarvio 2013-12-06 15:03:00 -08:00
commit 1e8ac0b8a2
2 changed files with 10 additions and 1 deletions

View File

@ -1171,6 +1171,9 @@ def up(iface, iface_type): # pylint: disable=C0103
def get_network_settings():
# Once implemented, please add a docstring with CLI example, and remove
# this function from the allow_failure tuple in
# SysModuleTest.test_valid_docs, within tests/integration/modules/sysmod.py
msg = 'Not implemented yet'
return msg
@ -1219,5 +1222,8 @@ def apply_network_settings(**settings):
def build_network_settings(**settings):
# Once implemented, please add a docstring with CLI example, and remove
# this function from the allow_failure tuple in
# SysModuleTest.test_valid_docs, within tests/integration/modules/sysmod.py
msg = 'Not implemented yet'
return msg

View File

@ -60,7 +60,10 @@ class SysModuleTest(integration.ModuleCase):
'runtests_decorators.depends',
'runtests_decorators.depends_will_fallback',
'runtests_decorators.missing_depends',
'runtests_decorators.missing_depends_will_fallback',)
'runtests_decorators.missing_depends_will_fallback',
'ip.build_network_settings',
'ip.get_network_settings',
)
for fun in docs:
if fun.startswith('runtests_helpers'):