From 1eee4329a9049876c91ca75cffcb5163cf176c31 Mon Sep 17 00:00:00 2001 From: Tim Buckley Date: Wed, 19 Aug 2015 15:44:04 -0600 Subject: [PATCH] Fix incorrect _load_details call --- stackviz/views/tempest/api.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/stackviz/views/tempest/api.py b/stackviz/views/tempest/api.py index e253418..2dbd422 100644 --- a/stackviz/views/tempest/api.py +++ b/stackviz/views/tempest/api.py @@ -94,7 +94,7 @@ def _load_details(provider_name, run_id, test_name): if provider_name not in providers: raise ProviderNotFoundException("Requested subunit provider could " - "not be found") + "not be found: " + provider_name) provider = providers[provider_name] try: @@ -133,4 +133,4 @@ class TempestRunTreeEndpoint(Endpoint): class TempestRunDetailsEndpoint(Endpoint): def get(self, request, run_id, provider_name, test_name=None): - return _load_details(int(run_id), provider_name, test_name) + return _load_details(provider_name, int(run_id), test_name)