mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2024-12-24 16:10:02 -06:00
ipatests.util.ClassChecker: Raise AttributeError in get_subcls
Pytest considers NotImplementedError on attribute access an error. https://fedorahosted.org/freeipa/ticket/4610 Reviewed-By: Tomas Babej <tbabej@redhat.com>
This commit is contained in:
parent
2b24faf3c1
commit
f3409ea031
@ -443,7 +443,7 @@ class ClassChecker(object):
|
||||
subcls = property(__get_subcls)
|
||||
|
||||
def get_subcls(self):
|
||||
raise NotImplementedError(
|
||||
raise AttributeError(
|
||||
self.__class__.__name__,
|
||||
'get_subcls()'
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user