diff options
Diffstat (limited to 'bitbake/lib/bb/tests/codeparser.py')
-rw-r--r-- | bitbake/lib/bb/tests/codeparser.py | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/bitbake/lib/bb/tests/codeparser.py b/bitbake/lib/bb/tests/codeparser.py index 4454bc51ed..bb820e4037 100644 --- a/bitbake/lib/bb/tests/codeparser.py +++ b/bitbake/lib/bb/tests/codeparser.py | |||
@@ -293,7 +293,12 @@ bb.data.getVar(a(), d, False) | |||
293 | def test_python(self): | 293 | def test_python(self): |
294 | self.d.setVar("FOO", self.pydata) | 294 | self.d.setVar("FOO", self.pydata) |
295 | self.setEmptyVars(["inexpand", "a", "test2", "test"]) | 295 | self.setEmptyVars(["inexpand", "a", "test2", "test"]) |
296 | self.d.setVarFlags("FOO", {"func": True, "python": True}) | 296 | self.d.setVarFlags("FOO", { |
297 | "func": True, | ||
298 | "python": True, | ||
299 | "lineno": 1, | ||
300 | "filename": "example.bb", | ||
301 | }) | ||
297 | 302 | ||
298 | deps, values = bb.data.build_dependencies("FOO", set(self.d.keys()), set(), set(), self.d) | 303 | deps, values = bb.data.build_dependencies("FOO", set(self.d.keys()), set(), set(), self.d) |
299 | 304 | ||