[gnome-continuous-yocto/gnomeostree-3.28-rocko: 4563/8267] oeqa/loader.py: Avoid error in TypeError exception
- From: Emmanuele Bassi <ebassi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-continuous-yocto/gnomeostree-3.28-rocko: 4563/8267] oeqa/loader.py: Avoid error in TypeError exception
- Date: Sun, 17 Dec 2017 02:12:44 +0000 (UTC)
commit 124f689569c687070c70b73fc9b7eeee4c730208
Author: Juro Bystricky <juro bystricky intel com>
Date: Mon Feb 6 09:27:22 2017 -0800
oeqa/loader.py: Avoid error in TypeError exception
Without this an exception would occur
(From OE-Core rev: d1bda068d4bc0ad3ff81ab1f104dc12cedd20b3f)
Signed-off-by: Juro Bystricky <juro bystricky intel com>
Signed-off-by: Richard Purdie <richard purdie linuxfoundation org>
meta/lib/oeqa/core/loader.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/meta/lib/oeqa/core/loader.py b/meta/lib/oeqa/core/loader.py
index c73ef9a..a380325 100644
--- a/meta/lib/oeqa/core/loader.py
+++ b/meta/lib/oeqa/core/loader.py
@@ -174,7 +174,7 @@ class OETestLoader(unittest.TestLoader):
" Maybe you meant to derive from TestCase?")
if not issubclass(testCaseClass, self.caseClass):
raise TypeError("Test cases need to be derived from %s" % \
- caseClass.__name__)
+ self.caseClass.__name__)
testCaseNames = self.getTestCaseNames(testCaseClass)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]