<div dir="ltr">Reviewed-by: Patrick Robb <<a href="mailto:probb@iol.unh.edu">probb@iol.unh.edu</a>></div><br><div class="gmail_quote gmail_quote_container"><div dir="ltr" class="gmail_attr">On Fri, Jun 27, 2025 at 11:12 AM Thomas Wilks <<a href="mailto:thomas.wilks@arm.com">thomas.wilks@arm.com</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">From: Luca Vizzarro <<a href="mailto:luca.vizzarro@arm.com" target="_blank">luca.vizzarro@arm.com</a>><br>
<br>
The test suite name property was previously returning the class name<br>
instead of the way that test suite are actually named, e.g.<br>
TestHelloWorld instead of hello_world.<br>
<br>
This change rectifies this inconsistency.<br>
<br>
Signed-off-by: Luca Vizzarro <<a href="mailto:luca.vizzarro@arm.com" target="_blank">luca.vizzarro@arm.com</a>><br>
---<br>
dts/framework/test_suite.py | 7 +++++--<br>
1 file changed, 5 insertions(+), 2 deletions(-)<br>
<br>
diff --git a/dts/framework/test_suite.py b/dts/framework/test_suite.py<br>
index 145b79496f..d4e06a567a 100644<br>
--- a/dts/framework/test_suite.py<br>
+++ b/dts/framework/test_suite.py<br>
@@ -110,8 +110,11 @@ def __init__(self, config: BaseConfig):<br>
<br>
@property<br>
def name(self) -> str:<br>
- """The name of the test suite class."""<br>
- return type(self).__name__<br>
+ """The name of the test suite."""<br>
+ module_prefix = (<br>
+ f"{TestSuiteSpec.TEST_SUITES_PACKAGE_NAME}.{TestSuiteSpec.TEST_SUITE_MODULE_PREFIX}"<br>
+ )<br>
+ return type(self).__module__[len(module_prefix) :]<br>
<br>
@property<br>
def topology(self) -> Topology:<br>
-- <br>
2.43.0<br>
<br>
</blockquote></div>