diff options
-rw-r--r-- | meta/lib/oeqa/core/decorator/__init__.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/meta/lib/oeqa/core/decorator/__init__.py b/meta/lib/oeqa/core/decorator/__init__.py index 1a5ac40134..1a82518ab6 100644 --- a/meta/lib/oeqa/core/decorator/__init__.py +++ b/meta/lib/oeqa/core/decorator/__init__.py | |||
@@ -70,7 +70,8 @@ def OETestTag(*tags): | |||
70 | expandedtags += strToList(tag) | 70 | expandedtags += strToList(tag) |
71 | def decorator(item): | 71 | def decorator(item): |
72 | if hasattr(item, "__oeqa_testtags"): | 72 | if hasattr(item, "__oeqa_testtags"): |
73 | item.__oeqa_testtags += expandedtags | 73 | # do not append, create a new list (to handle classes with inheritance) |
74 | item.__oeqa_testtags = list(item.__oeqa_testtags) + expandedtags | ||
74 | else: | 75 | else: |
75 | item.__oeqa_testtags = expandedtags | 76 | item.__oeqa_testtags = expandedtags |
76 | return item | 77 | return item |