Commit 9f9a9166 authored by Bryan  BRANCOTTE's avatar Bryan BRANCOTTE

Improving coverage

parent c5c374c2
......@@ -696,10 +696,10 @@ def panda_color_mapping(v):
def panda_legend_color_mapping(v):
try:
return panda_color_mapping(models.GlobalViralHostResponseValue.objects.get(name=v).value)
except ValueError:
return ""
# try:
return panda_color_mapping(models.GlobalViralHostResponseValue.objects.get(name=v).value)
# except ValueError: # No ValueError can be raised
# return ""
def download_responses(request):
......
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