diff options
Diffstat (limited to 'meta')
-rw-r--r-- | meta/lib/oeqa/selftest/cases/tinfoil.py | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/meta/lib/oeqa/selftest/cases/tinfoil.py b/meta/lib/oeqa/selftest/cases/tinfoil.py index 42a1b6b4f4..d1aa7b9afd 100644 --- a/meta/lib/oeqa/selftest/cases/tinfoil.py +++ b/meta/lib/oeqa/selftest/cases/tinfoil.py | |||
@@ -65,19 +65,6 @@ class TinfoilTests(OESelftestTestCase): | |||
65 | localdata.setVar('PN', 'hello') | 65 | localdata.setVar('PN', 'hello') |
66 | self.assertEqual('hello', localdata.getVar('BPN')) | 66 | self.assertEqual('hello', localdata.getVar('BPN')) |
67 | 67 | ||
68 | def test_parse_recipe_initial_datastore(self): | ||
69 | with bb.tinfoil.Tinfoil() as tinfoil: | ||
70 | tinfoil.prepare(config_only=False, quiet=2) | ||
71 | testrecipe = 'mdadm' | ||
72 | best = tinfoil.find_best_provider(testrecipe) | ||
73 | if not best: | ||
74 | self.fail('Unable to find recipe providing %s' % testrecipe) | ||
75 | dcopy = bb.data.createCopy(tinfoil.config_data) | ||
76 | dcopy.setVar('MYVARIABLE', 'somevalue') | ||
77 | rd = tinfoil.parse_recipe_file(best[3], config_data=dcopy) | ||
78 | # Check we can get variable values | ||
79 | self.assertEqual('somevalue', rd.getVar('MYVARIABLE')) | ||
80 | |||
81 | def test_list_recipes(self): | 68 | def test_list_recipes(self): |
82 | with bb.tinfoil.Tinfoil() as tinfoil: | 69 | with bb.tinfoil.Tinfoil() as tinfoil: |
83 | tinfoil.prepare(config_only=False, quiet=2) | 70 | tinfoil.prepare(config_only=False, quiet=2) |