From 3718ffdd3000b05dc543e57e463fab81bc761571 Mon Sep 17 00:00:00 2001 From: muhammad-ammar Date: Fri, 6 Nov 2015 18:44:38 +0500 Subject: [PATCH] quality fixes --- requirements/test.txt | 2 +- workbench/test/test_scenarios.py | 2 +- workbench/urls.py | 1 - 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/requirements/test.txt b/requirements/test.txt index 16ce858e..63f22381 100644 --- a/requirements/test.txt +++ b/requirements/test.txt @@ -1,7 +1,7 @@ coverage ddt mock -pylint==1.4.4 +pylint==0.28 pep8 rednose bok_choy==0.4.3 diff --git a/workbench/test/test_scenarios.py b/workbench/test/test_scenarios.py index cd0a0354..38d71d8c 100644 --- a/workbench/test/test_scenarios.py +++ b/workbench/test/test_scenarios.py @@ -56,7 +56,7 @@ def test_scenario(self, scenario_id): url = reverse('workbench_show_scenario', kwargs={'scenario_id': scenario_id}) client = Client() response = client.get(url, follow=True) - assert response.status_code == 200, name + assert response.status_code == 200, scenario_id # Be sure we got the whole scenario. Again, we can't know what to expect # here, but at the very least, if there are verticals, they should not be diff --git a/workbench/urls.py b/workbench/urls.py index 2a28dd45..b8e1c6a4 100644 --- a/workbench/urls.py +++ b/workbench/urls.py @@ -4,7 +4,6 @@ from django.contrib.staticfiles.urls import staticfiles_urlpatterns from django.contrib import admin -from workbench.scenarios import init_scenarios admin.autodiscover()