tests package
Submodules
tests.test_cache_decorator module
- tests.test_cache_decorator.test_cache_performance(cache)[source]
Test that @cache decorator improves performance by using time.sleep.
- tests.test_cache_decorator.test_clear_cache(cache)[source]
Test that clear_cache method empties the cache.
- tests.test_cache_decorator.test_get_cached_value_exact_match(cache)[source]
Test that get_cached_value returns the correct result for an exact match.
- tests.test_cache_decorator.test_get_cached_value_no_match(cache)[source]
Test that get_cached_value returns None when no match is found.
tests.test_log_decorator module
test_func_log_terminal not working
- tests.test_log_decorator.test_func_log_file_json()[source]
Test to check if the json log is working correctly.
tests.test_retry_decorator module
test_retry_raise_exception_assertion not working