diff options
Diffstat (limited to 'meta')
-rw-r--r-- | meta/lib/oeqa/core/decorator/__init__.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/lib/oeqa/core/decorator/__init__.py b/meta/lib/oeqa/core/decorator/__init__.py index 855b6b9d28..6ca0acf353 100644 --- a/meta/lib/oeqa/core/decorator/__init__.py +++ b/meta/lib/oeqa/core/decorator/__init__.py | |||
@@ -2,7 +2,7 @@ | |||
2 | # Released under the MIT license (see COPYING.MIT) | 2 | # Released under the MIT license (see COPYING.MIT) |
3 | 3 | ||
4 | from functools import wraps | 4 | from functools import wraps |
5 | from abc import abstractmethod | 5 | from abc import abstractmethod, ABCMeta |
6 | 6 | ||
7 | decoratorClasses = set() | 7 | decoratorClasses = set() |
8 | 8 | ||
@@ -10,7 +10,7 @@ def registerDecorator(obj): | |||
10 | decoratorClasses.add(obj) | 10 | decoratorClasses.add(obj) |
11 | return obj | 11 | return obj |
12 | 12 | ||
13 | class OETestDecorator(object): | 13 | class OETestDecorator(object, metaclass=ABCMeta): |
14 | case = None # Reference of OETestCase decorated | 14 | case = None # Reference of OETestCase decorated |
15 | attrs = None # Attributes to be loaded by decorator implementation | 15 | attrs = None # Attributes to be loaded by decorator implementation |
16 | 16 | ||