diff --git a/tests/test_mongo_core.py b/tests/test_mongo_core.py index 862c6b1..f34208a 100644 --- a/tests/test_mongo_core.py +++ b/tests/test_mongo_core.py @@ -177,14 +177,11 @@ def test_mongo_wait_for_calc_timeout_ok(): @cachier(mongetter=_test_mongetter, stale_after=MONGO_DELTA_LONG, next_time=False, wait_for_calc_timeout=2) def _wait_for_calc_timeout_mongo_slow(arg_1, arg_2): - print("_wait_for_calc_timeout_mongo_slow") - """Some slow function.""" sleep(3) return random() + arg_1 + arg_2 def _calls_wait_for_calc_timeout_mongo_slow(res_queue): - print("_calls_wait_for_calc_timeout_mongo_slow") res = _wait_for_calc_timeout_mongo_slow(1, 2) res_queue.put(res) @@ -192,7 +189,6 @@ def _calls_wait_for_calc_timeout_mongo_slow(res_queue): def test_mongo_wait_for_calc_timeout_slow(): """Testing for calls timing out to be performed twice when needed.""" _wait_for_calc_timeout_mongo_slow.clear_cache() - print("Cache cleared") res_queue = queue.Queue() thread1 = threading.Thread( target=_calls_wait_for_calc_timeout_mongo_slow, kwargs={'res_queue': res_queue})