summaryrefslogtreecommitdiff
path: root/tools/binman/func_test.py
diff options
context:
space:
mode:
Diffstat (limited to 'tools/binman/func_test.py')
-rw-r--r--tools/binman/func_test.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/binman/func_test.py b/tools/binman/func_test.py
index 7328d03..8960e23 100644
--- a/tools/binman/func_test.py
+++ b/tools/binman/func_test.py
@@ -658,8 +658,8 @@ class TestFunctional(unittest.TestCase):
fname = tools.GetOutputFilename('test.dtb')
with open(fname, 'wb') as fd:
fd.write(second)
- fdt = fdt_select.FdtScan(fname)
- ucode = fdt.GetNode('/microcode')
+ dtb = fdt.FdtScan(fname)
+ ucode = dtb.GetNode('/microcode')
self.assertTrue(ucode)
for node in ucode.subnodes:
self.assertFalse(node.props.get('data'))