[PATCH v4 3/3] fixup! dts: allow to get multiple expected packets

Luca Vizzarro luca.vizzarro at arm.com
Wed Nov 13 17:25:18 CET 2024


---
 dts/framework/test_suite.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dts/framework/test_suite.py b/dts/framework/test_suite.py
index 23fe41a10e..7a75334cfa 100644
--- a/dts/framework/test_suite.py
+++ b/dts/framework/test_suite.py
@@ -334,7 +334,7 @@ def get_expected_packet(self, packet: Packet) -> Packet:
         Returns:
             `packet` with injected L2/L3 addresses.
         """
-        return self.get_expected_packet([packet])[0]
+        return self.get_expected_packets([packet])[0]
 
     def _adjust_addresses(self, packets: list[Packet], expected: bool = False) -> list[Packet]:
         """L2 and L3 address additions in both directions.
-- 
2.43.0



More information about the dev mailing list