Skip to content

Commit

Permalink
Did away with tests field
Browse files Browse the repository at this point in the history
  • Loading branch information
Bernard Szabo committed Dec 18, 2024
1 parent c06703b commit e31c126
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tubular/scripts/dd_synthetic_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ def get_and_record_test_results(self):
Poll for test results for all tests that were run, and save the results
in this datadog client object
'''
for test in self.tests:
for test in list(self.tests_by_public_id.values()):
test.success = self._poll_for_test_result(test)

def get_failed_tests(self):
Expand All @@ -65,7 +65,7 @@ def get_failed_tests(self):
:return: A list of failed test objects; Empty list if all tests passed
'''
failed_tests = []
for test in self.tests:
for test in list(self.tests_by_public_id.values()):
if not test.success:
failed_tests.append(test)

Expand Down

0 comments on commit e31c126

Please sign in to comment.