summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--meta/lib/oe/tests/test_utils.py10
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"])