summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
Diffstat (limited to 'meta')
-rw-r--r--meta/lib/oe/tests/test_utils.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/meta/lib/oe/tests/test_utils.py b/meta/lib/oe/tests/test_utils.py
index 78b1361161..5e1ea0e6ea 100644
--- a/meta/lib/oe/tests/test_utils.py
+++ b/meta/lib/oe/tests/test_utils.py
@@ -1,11 +1,15 @@
1import unittest 1import unittest
2import bb, oe.utils 2import oe.utils
3 3
4class TestPackagesFilterOutSystem(unittest.TestCase): 4class TestPackagesFilterOutSystem(unittest.TestCase):
5 def test_filter(self): 5 def test_filter(self):
6 """ 6 """
7 Test that oe.utils.packages_filter_out_system works. 7 Test that oe.utils.packages_filter_out_system works.
8 """ 8 """
9 try:
10 import bb
11 except ImportError:
12 self.skipTest("Cannot import bb")
9 13
10 d = bb.data_smart.DataSmart() 14 d = bb.data_smart.DataSmart()
11 d.setVar("PN", "foo") 15 d.setVar("PN", "foo")