diff options
author | 2017-06-08 11:32:06 -0500 | |
---|---|---|
committer | 2017-06-12 15:04:09 +0100 | |
commit | 4d01610f36eaee8da3126bb5045856279371fd17 (patch) | |
tree | 2155e594c7b5059ffb49c441e5a4ec7c0dfb8ae1 /meta/lib/oeqa/selftest/cases/oelib/path.py | |
parent | cf2ee12b007e5570959ccfbb643159b21d90426e (diff) | |
download | openembedded-core-4d01610f36eaee8da3126bb5045856279371fd17.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]
Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
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 @@ -from oeqa.selftest.case import OESelftestTestCase +from unittest.case import TestCase import oe, oe.path import tempfile import os import errno import shutil -class TestRealPath(OESelftestTestCase): +class TestRealPath(TestCase): DIRS = [ "a", "b", "etc", "sbin", "usr", "usr/bin", "usr/binX", "usr/sbin", "usr/include", "usr/include/gdbm" ] FILES = [ "etc/passwd", "b/file" ] LINKS = [ |