mirror of
https://github.com/zulip/zulip.git
synced 2025-11-01 12:33:40 +00:00
coverage: Clean up coverage configuration.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
committed by
Tim Abbott
parent
19dee5450d
commit
b5e5728112
@@ -14,7 +14,7 @@ ZULIP_PATH = os.path.join(os.path.dirname(os.path.abspath(__file__)), "../../../
|
||||
# This is used only by the Puppeteer tests to clear all the cache after each run.
|
||||
@csrf_exempt
|
||||
@require_post
|
||||
def remove_caches(request: HttpRequest) -> HttpResponse:
|
||||
def remove_caches(request: HttpRequest) -> HttpResponse: # nocoverage
|
||||
cache = get_cache_backend(None)
|
||||
cache.clear()
|
||||
clear_client_cache()
|
||||
|
||||
Reference in New Issue
Block a user