From 0787debcc3d77e3ab3ce7007b4155ea082191835 Mon Sep 17 00:00:00 2001 From: Joey Vagedes Date: Thu, 2 May 2024 07:54:12 -0700 Subject: [PATCH] formatting --- .../HostBasedUnitTestRunner/HostBasedUnitTestRunner.py | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/BaseTools/Plugin/HostBasedUnitTestRunner/HostBasedUnitTestRunner.py b/BaseTools/Plugin/HostBasedUnitTestRunner/HostBasedUnitTestRunner.py index 5573225268..377598fbef 100644 --- a/BaseTools/Plugin/HostBasedUnitTestRunner/HostBasedUnitTestRunner.py +++ b/BaseTools/Plugin/HostBasedUnitTestRunner/HostBasedUnitTestRunner.py @@ -125,13 +125,15 @@ def do_post_build(self, thebuilder): # MU_CHANGE [BEGIN] - Check for invalid tests if len(root) == 0: error_messages.append(f'{os.path.basename(test)} did not generate a test suite(s).') - error_messages.append(' Review source code to ensure Test suites are created and tests are registered!') + error_messages.append(' Review source code to ensure Test suites are created and tests ' + ' are registered!') failure_count += 1 for suite in root: if len(suite) == 0: - error_messages.append(f'TestSuite [{suite.attrib["name"]}] for test {test} did ' - 'not contain a test case(s).') - error_messages.append(' Review source code to ensure test cases are registered to the suite!') + error_messages.append(f'TestSuite [{suite.attrib["name"]}] for test {test} did not ' + 'contain a test case(s).') + error_messages.append(' Review source code to ensure test cases are registered to ' + 'the suite!') failure_count += 1 # MU_CHANGE [END] - Check for invalid tests for case in suite: