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/path.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/path.py')
-rw-r--r-- | meta/lib/oeqa/selftest/cases/oelib/path.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/lib/oeqa/selftest/cases/oelib/path.py b/meta/lib/oeqa/selftest/cases/oelib/path.py index 2ae5eaf89e..75a27c06f7 100644 --- a/meta/lib/oeqa/selftest/cases/oelib/path.py +++ b/meta/lib/oeqa/selftest/cases/oelib/path.py | |||
@@ -1,11 +1,11 @@ | |||
1 | from oeqa.selftest.case import OESelftestTestCase | 1 | from unittest.case import TestCase |
2 | import oe, oe.path | 2 | import oe, oe.path |
3 | import tempfile | 3 | import tempfile |
4 | import os | 4 | import os |
5 | import errno | 5 | import errno |
6 | import shutil | 6 | import shutil |
7 | 7 | ||
8 | class TestRealPath(OESelftestTestCase): | 8 | class TestRealPath(TestCase): |
9 | DIRS = [ "a", "b", "etc", "sbin", "usr", "usr/bin", "usr/binX", "usr/sbin", "usr/include", "usr/include/gdbm" ] | 9 | DIRS = [ "a", "b", "etc", "sbin", "usr", "usr/bin", "usr/binX", "usr/sbin", "usr/include", "usr/include/gdbm" ] |
10 | FILES = [ "etc/passwd", "b/file" ] | 10 | FILES = [ "etc/passwd", "b/file" ] |
11 | LINKS = [ | 11 | LINKS = [ |