diff --git a/stackviz/views/devstack/latest_results.py b/stackviz/views/devstack/latest_results.py deleted file mode 100644 index eebf4e48..00000000 --- a/stackviz/views/devstack/latest_results.py +++ /dev/null @@ -1,4 +0,0 @@ -from django.views.generic import TemplateView - -class LatestResultsView(TemplateView): - template_name = 'devstack/latest_results.html' diff --git a/stackviz/views/tempest/results.py b/stackviz/views/tempest/results.py index 9199480d..908b108f 100644 --- a/stackviz/views/tempest/results.py +++ b/stackviz/views/tempest/results.py @@ -16,7 +16,7 @@ class ResultsView(TemplateView): class LatestResultsView(RedirectView): - def get_redirect_url(self, run_id): + def get_redirect_url(self): repos = get_repositories() if not repos: raise Http404("No testr repositories could be loaded") diff --git a/stackviz/views/tempest/timeline.py b/stackviz/views/tempest/timeline.py index 3c2f23ac..31a81387 100644 --- a/stackviz/views/tempest/timeline.py +++ b/stackviz/views/tempest/timeline.py @@ -16,7 +16,7 @@ class TimelineView(TemplateView): class TimelineLatestView(RedirectView): - def get_redirect_url(self, run_id): + def get_redirect_url(self): repos = get_repositories() if not repos: raise Http404("No testr repositories could be loaded") diff --git a/stackviz/views/tempest/urls.py b/stackviz/views/tempest/urls.py index 1b46eedf..91627b17 100644 --- a/stackviz/views/tempest/urls.py +++ b/stackviz/views/tempest/urls.py @@ -12,7 +12,7 @@ urlpatterns = patterns('', url(r'^results/(?P\d+)/$', ResultsView.as_view(), name='tempest_results'), - url(r'^latest_results$', + url(r'^results/$', LatestResultsView.as_view(), name='tempest_results_latest'),