From b29387abdd757e811098cc4af8b17661f11cb537 Mon Sep 17 00:00:00 2001 From: Roman Mogilatov Date: Wed, 18 Nov 2015 11:01:32 +0200 Subject: [PATCH] Add nocover modified for DeclarativeCatalog __getattr__(), __setattr__(), __delattr__() --- dependency_injector/catalogs.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/dependency_injector/catalogs.py b/dependency_injector/catalogs.py index 952f808f..3ca2f28c 100644 --- a/dependency_injector/catalogs.py +++ b/dependency_injector/catalogs.py @@ -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