diff options
author | Ross Burton <ross.burton@intel.com> | 2013-05-23 12:35:08 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-06-07 16:41:01 +0100 |
commit | 2a147008cf81838cfc569640a30df0c1bfd74e08 (patch) | |
tree | 366d3c58b327db1a1dc80e68954d95cec0e13f60 /meta/lib | |
parent | c4a5bd810ca92d57c334113c528bd1d233b3eac4 (diff) | |
download | openembedded-core-2a147008cf81838cfc569640a30df0c1bfd74e08.tar.gz openembedded-core-2a147008cf81838cfc569640a30df0c1bfd74e08.tar.bz2 openembedded-core-2a147008cf81838cfc569640a30df0c1bfd74e08.zip |
test_utils: import functions directly for conciseness
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Diffstat (limited to 'meta/lib')
-rw-r--r-- | meta/lib/oe/tests/test_utils.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/meta/lib/oe/tests/test_utils.py b/meta/lib/oe/tests/test_utils.py index 5e1ea0e6ea..5d9ac52e7d 100644 --- a/meta/lib/oe/tests/test_utils.py +++ b/meta/lib/oe/tests/test_utils.py @@ -1,5 +1,5 @@ import unittest -import oe.utils +from oe.utils import packages_filter_out_system class TestPackagesFilterOutSystem(unittest.TestCase): def test_filter(self): @@ -15,19 +15,19 @@ class TestPackagesFilterOutSystem(unittest.TestCase): d.setVar("PN", "foo") d.setVar("PACKAGES", "foo foo-doc foo-dev") - pkgs = oe.utils.packages_filter_out_system(d) + pkgs = packages_filter_out_system(d) self.assertEqual(pkgs, []) d.setVar("PACKAGES", "foo foo-doc foo-data foo-dev") - pkgs = oe.utils.packages_filter_out_system(d) + pkgs = packages_filter_out_system(d) self.assertEqual(pkgs, ["foo-data"]) d.setVar("PACKAGES", "foo foo-locale-en-gb") - pkgs = oe.utils.packages_filter_out_system(d) + pkgs = packages_filter_out_system(d) self.assertEqual(pkgs, []) d.setVar("PACKAGES", "foo foo-data foo-locale-en-gb") - pkgs = oe.utils.packages_filter_out_system(d) + pkgs = packages_filter_out_system(d) self.assertEqual(pkgs, ["foo-data"]) |