diff options
author | Petr Viktorin <pviktori@redhat.com> | 2014-10-07 15:22:59 +0200 |
---|---|---|
committer | Tomas Babej <tbabej@redhat.com> | 2014-11-21 12:14:44 +0100 |
commit | f3409ea031a23268030552aeacb26ba168622be5 (patch) | |
tree | b7cb756ad3be06cc93922021c6e45c4cb59145e8 /ipatests | |
parent | 2b24faf3c13752f7f6e1d926902201e657ba13cc (diff) | |
download | freeipa-f3409ea031a23268030552aeacb26ba168622be5.tar.gz freeipa-f3409ea031a23268030552aeacb26ba168622be5.tar.xz freeipa-f3409ea031a23268030552aeacb26ba168622be5.zip |
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>
Diffstat (limited to 'ipatests')
-rw-r--r-- | ipatests/util.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ipatests/util.py b/ipatests/util.py index 9d9562c58..522952b00 100644 --- a/ipatests/util.py +++ b/ipatests/util.py @@ -443,7 +443,7 @@ class ClassChecker(object): subcls = property(__get_subcls) def get_subcls(self): - raise NotImplementedError( + raise AttributeError( self.__class__.__name__, 'get_subcls()' ) |