<div dir="ltr">Unfortunately I do find myself saying sanity check often... something to cut out from my vocabulary. From a quick google it looks like many are using coherence check in its place, or just explicitly writing out what the check is as you did. <div><br></div><div>It would also probably be fine to just remove the comment entirely given the assert immediately following it also contains its own explanation of the check. But, I guess the original author thought it was useful to have the comment, so we can keep it. </div><div><br></div><div>Reviewed-by: Patrick Robb <<a href="mailto:probb@iol.unh.edu">probb@iol.unh.edu</a>></div></div><br><div class="gmail_quote gmail_quote_container"><div dir="ltr" class="gmail_attr">On Wed, Apr 2, 2025 at 7:24 PM Stephen Hemminger <<a href="mailto:stephen@networkplumber.org">stephen@networkplumber.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Replace with better words.<br>
<br>
Signed-off-by: Stephen Hemminger <<a href="mailto:stephen@networkplumber.org" target="_blank">stephen@networkplumber.org</a>><br>
---<br>
dts/tests/TestSuite_blocklist.py | 2 +-<br>
1 file changed, 1 insertion(+), 1 deletion(-)<br>
<br>
diff --git a/dts/tests/TestSuite_blocklist.py b/dts/tests/TestSuite_blocklist.py<br>
index ce7da1cc8f..82109f72a1 100644<br>
--- a/dts/tests/TestSuite_blocklist.py<br>
+++ b/dts/tests/TestSuite_blocklist.py<br>
@@ -22,7 +22,7 @@ def verify_blocklisted_ports(self, ports_to_block: list[Port]):<br>
allowlisted_ports = {port.device_name for port in testpmd.show_port_info_all()}<br>
blocklisted_ports = {port.pci for port in ports_to_block}<br>
<br>
- # sanity check<br>
+ # ensure at least one port is allowed<br>
allowed_len = len(allowlisted_ports - blocklisted_ports)<br>
self.verify(allowed_len > 0, "At least one port should have been allowed")<br>
<br>
-- <br>
2.47.2<br>
<br>
</blockquote></div>