diff options
author | Aníbal Limón <anibal.limon@linux.intel.com> | 2017-06-08 11:32:06 -0500 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-06-12 15:08:30 +0100 |
commit | c3587b7d1005c8564e54263768d0088afbb5c946 (patch) | |
tree | e39c75456d0b6304108399bc2d13a35b69e8c1dc /meta/lib/oeqa/selftest/cases/oelib/elf.py | |
parent | 652df69b026f1188b99efb7a2a237a44928ff6a9 (diff) | |
download | poky-c3587b7d1005c8564e54263768d0088afbb5c946.tar.gz |
oeqa/cases/oelib: Change default case class to unittest.case.TestCase
Some tests doesn't need call bitbake so it is better to use the
basic unittest case class.
[YOCTO #10828]
(From OE-Core rev: 4d01610f36eaee8da3126bb5045856279371fd17)
Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/lib/oeqa/selftest/cases/oelib/elf.py')
-rw-r--r-- | meta/lib/oeqa/selftest/cases/oelib/elf.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/lib/oeqa/selftest/cases/oelib/elf.py b/meta/lib/oeqa/selftest/cases/oelib/elf.py index 0451ebaffb..74ee6a11cc 100644 --- a/meta/lib/oeqa/selftest/cases/oelib/elf.py +++ b/meta/lib/oeqa/selftest/cases/oelib/elf.py | |||
@@ -1,7 +1,7 @@ | |||
1 | from oeqa.selftest.case import OESelftestTestCase | 1 | from unittest.case import TestCase |
2 | import oe.qa | 2 | import oe.qa |
3 | 3 | ||
4 | class TestElf(OESelftestTestCase): | 4 | class TestElf(TestCase): |
5 | def test_machine_name(self): | 5 | def test_machine_name(self): |
6 | """ | 6 | """ |
7 | Test elf_machine_to_string() | 7 | Test elf_machine_to_string() |