Add nocover modified for DeclarativeCatalog __getattr__(), __setattr__(), __delattr__()

This commit is contained in:
Roman Mogilatov 2015-11-18 11:01:32 +02:00
parent 801716fd92
commit b29387abdd

View File

@ -734,7 +734,7 @@ class DeclarativeCatalog(object):
delattr(cls, name)
@classmethod
def __getattr__(cls, name):
def __getattr__(cls, name): # pragma: no cover
"""Return provider with specified name or raise en error.
:param name: Attribute's name
@ -745,7 +745,7 @@ class DeclarativeCatalog(object):
raise NotImplementedError('Implementated in metaclass')
@classmethod
def __setattr__(cls, name, value):
def __setattr__(cls, name, value): # pragma: no cover
"""Handle setting of catalog attributes.
Setting of attributes works as usual, but if value of attribute is
@ -763,7 +763,7 @@ class DeclarativeCatalog(object):
raise NotImplementedError('Implementated in metaclass')
@classmethod
def __delattr__(cls, name):
def __delattr__(cls, name): # pragma: no cover
"""Handle deleting of catalog attibute.
Deleting of attributes works as usual, but if value of attribute is