summaryrefslogtreecommitdiff
path: root/tests/pylibfdt_tests.py
diff options
context:
space:
mode:
author Sadaf Ebrahimi <sadafebrahimi@google.com> 2024-04-11 16:57:54 +0000
committer Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> 2024-04-11 16:57:54 +0000
commitda3aa24e512e4e82755184360f79fa3296e6548d (patch)
tree39079d8f82b3dca7d53b7260adf862f4906e2553 /tests/pylibfdt_tests.py
parent523414bc8f17d9debc662ed1144407801511df39 (diff)
parentde525a0c77a0e30ab2e664d590981e7ec82fb770 (diff)
Upgrade dtc to v1.7.0 am: 835431ed39 am: de525a0c77
Original change: https://android-review.googlesource.com/c/platform/external/dtc/+/3015236 Change-Id: I79b412a4b6db43f158d5e29ce88a0999f838f34f Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
Diffstat (limited to 'tests/pylibfdt_tests.py')
-rw-r--r--tests/pylibfdt_tests.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/pylibfdt_tests.py b/tests/pylibfdt_tests.py
index 68d6aaa..34c2764 100644
--- a/tests/pylibfdt_tests.py
+++ b/tests/pylibfdt_tests.py
@@ -354,6 +354,7 @@ class PyLibfdtBasicTests(unittest.TestCase):
node2 = self.fdt.path_offset('/subnode@1/subsubnode')
self.assertEqual("/subnode@1", self.fdt.get_path(node))
self.assertEqual("/subnode@1/subsubnode", self.fdt.get_path(node2))
+ self.assertEqual("/subnode@1/subsubnode", self.fdt.get_path(node2, size_hint=1))
with self.assertRaises(FdtException) as e:
self.fdt.get_path(-1)