try:
yield result
- except AttributeError:
- raise cherrypy.NotFound(result)
+ except AttributeError: # pragma: no cover - handling is too obvious
+ raise cherrypy.NotFound(result) # pragma: no cover - handling is too obvious
@staticmethod
def _to_native(setting):
settings.
:rtype: dict
"""
- return {
+ return { # pragma: no cover - no complexity there
'user_pwd_expiration_span':
SettingsModule.USER_PWD_EXPIRATION_SPAN,
'user_pwd_expiration_warning_1':