Skip to content

Commit

Permalink
formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
Javagedes committed Jun 3, 2024
1 parent 8a1d36a commit 0787deb
Showing 1 changed file with 6 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 0787deb

Please sign in to comment.