Update test_mongo_core.py

This commit is contained in:
Nico Andrade
2020-10-08 16:00:14 -04:00
committed by GitHub
parent 4cb2afa438
commit adc9143f3a
+1 -1
View File
@@ -178,7 +178,7 @@ 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 function."""
"""Some slow function."""
sleep(3)
return random() + arg_1 + arg_2