mirror of
https://xff.cz/git/u-boot/
synced 2025-11-01 19:05:51 +01:00
dtoc: Correct pylint errors
Fix pylint errors in this directory. Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
@@ -25,7 +25,7 @@ sys.path.insert(2, os.path.join(our_path,
|
||||
from dtoc import fdt
|
||||
from dtoc import fdt_util
|
||||
from dtoc.fdt_util import fdt32_to_cpu, fdt64_to_cpu
|
||||
from fdt import Type, BytesToValue
|
||||
from dtoc.fdt import Type, BytesToValue
|
||||
import libfdt
|
||||
from patman import command
|
||||
from patman import test_util
|
||||
@@ -119,9 +119,9 @@ class TestFdt(unittest.TestCase):
|
||||
"""Test that packing a device tree works"""
|
||||
self.dtb.Pack()
|
||||
|
||||
def testGetFdt(self):
|
||||
def testGetFdtRaw(self):
|
||||
"""Tetst that we can access the raw device-tree data"""
|
||||
self.assertTrue(isinstance(self.dtb.GetContents(), bytearray))
|
||||
self.assertTrue(isinstance(self.dtb.GetContents(), bytes))
|
||||
|
||||
def testGetProps(self):
|
||||
"""Tests obtaining a list of properties"""
|
||||
|
||||
Reference in New Issue
Block a user