From 0d90596b56db5d306125ead08c571fc8d44d528e Mon Sep 17 00:00:00 2001 From: James Falcon Date: Thu, 15 Apr 2021 10:20:04 -0500 Subject: Emit dots on travis to avoid timeout (#867) The current method of running a background sleep until travis is finished is causing integration test runs to pass even when they should be failing. Instead, update the code to emit dots itself. --- tests/integration_tests/log_utils.py | 11 ----------- 1 file changed, 11 deletions(-) delete mode 100644 tests/integration_tests/log_utils.py (limited to 'tests/integration_tests/log_utils.py') diff --git a/tests/integration_tests/log_utils.py b/tests/integration_tests/log_utils.py deleted file mode 100644 index 40baae7b..00000000 --- a/tests/integration_tests/log_utils.py +++ /dev/null @@ -1,11 +0,0 @@ -def verify_ordered_items_in_text(to_verify: list, text: str): - """Assert all items in list appear in order in text. - - Examples: - verify_ordered_items_in_text(['a', '1'], 'ab1') # passes - verify_ordered_items_in_text(['1', 'a'], 'ab1') # raises AssertionError - """ - index = 0 - for item in to_verify: - index = text[index:].find(item) - assert index > -1, "Expected item not found: '{}'".format(item) -- cgit v1.2.3