diff options
author | Juro Bystricky <juro.bystricky@intel.com> | 2017-02-06 09:27:22 -0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-02-15 09:29:42 -0800 |
commit | d1bda068d4bc0ad3ff81ab1f104dc12cedd20b3f (patch) | |
tree | 7bf2d94f69bee2db16960bb339191a3a99c936b9 /meta/lib | |
parent | c1ec42ee9beb1603012db5cf990cdbf1596b2a3d (diff) | |
download | openembedded-core-d1bda068d4bc0ad3ff81ab1f104dc12cedd20b3f.tar.gz openembedded-core-d1bda068d4bc0ad3ff81ab1f104dc12cedd20b3f.tar.bz2 openembedded-core-d1bda068d4bc0ad3ff81ab1f104dc12cedd20b3f.zip |
oeqa/loader.py: Avoid error in TypeError exception
Without this an exception would occur
Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/lib')
-rw-r--r-- | 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 c73ef9a0fc..a38032590d 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) |