Skip to content

Commit

Permalink
Revert "xxx output the unexpeted output objects to aid debugging"
Browse files Browse the repository at this point in the history
This reverts commit d98a1e5.
  • Loading branch information
albu-diku committed Oct 2, 2024
1 parent a4a6ed5 commit 7581351
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions tests/test_mig_cgibin_cat.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,12 +57,7 @@ def test_returns_file_output_with_single_file_match(self):
}

(output_objects, status) = main(self.configuration, self.logger, client_id=self.TEST_CLIENT_ID, user_arguments_dict=payload, environ=self.test_environ)
try:
self.assertEqual(len(output_objects), 1)
except:
for index, o in enumerate(output_objects):
print("%d: %s" % (index, o['output_type']))
raise
self.assertEqual(len(output_objects), 1)
output_obj = output_objects[0]
self.assertEqual(output_obj['object_type'], 'file_output')

Expand Down

0 comments on commit 7581351

Please sign in to comment.