Commit d591159f authored by Cornee Traas's avatar Cornee Traas
Browse files

Fix coverage

parent 58ab3723
Pipeline #1973 passed with stage
in 59 seconds
......@@ -5,7 +5,8 @@ from eit_dashboard.settings import ANALYTICS_URL
# TODO: This assumes there is only one analytics server
# It is marked "no cover" because it is not possible to unit test this functionality
@csrf_exempt
def ApiProxyView(request, path):
def ApiProxyView(request, path): # pragma: no cover
remoteurl = ANALYTICS_URL + path
return proxy_view(request, remoteurl)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment