Skip to content

Commit aec3864

Browse files
committed
Revert "Tests: Make _test_sleep a dummy function"
This reverts commit ce1f339.
1 parent 0e0f161 commit aec3864

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

‎stream/tests.py‎

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,10 @@ def _test_sleep(self, production_wait, local_wait):
9191
:param local_wait: float, number of seconds to sleep when hitting localhost API
9292
:return: None
9393
"""
94-
return
94+
sleep_time = production_wait
95+
if self.local_tests:
96+
sleep_time = local_wait
97+
time.sleep(sleep_time)
9598

9699
def test_update_activities_create(self):
97100
activities = [{

0 commit comments

Comments
 (0)