From 2f8c8e4c31aaf36bc5e11cf7847866c025e1c5c1 Mon Sep 17 00:00:00 2001 From: Ed Bartosh Date: Mon, 10 Aug 2015 18:27:10 +0100 Subject: bitbake: toaster: get rid of AllProjectsViewTestCase Removed AllProjectsViewTestCase class as it had one method 'setUp' and used as a parent for another class AllProjectsViewTestCase. Moved setUp method to AllProjectsViewTestCase. (Bitbake rev: b68e4d994eb825c1039fd90d197724b77aeebd5d) Signed-off-by: Ed Bartosh Signed-off-by: Michael Wood Signed-off-by: Richard Purdie --- bitbake/lib/toaster/toastergui/tests.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/bitbake/lib/toaster/toastergui/tests.py b/bitbake/lib/toaster/toastergui/tests.py index a9edd546fc..6f3930db93 100644 --- a/bitbake/lib/toaster/toastergui/tests.py +++ b/bitbake/lib/toaster/toastergui/tests.py @@ -7,7 +7,7 @@ import json PROJECT_NAME = "test project" -class ProvisionedProjectTestCase(TestCase): +class AllProjectsViewTestCase(TestCase): def setUp(self): self.bbv = BitbakeVersion.objects.create(\ @@ -18,9 +18,6 @@ class ProvisionedProjectTestCase(TestCase): self.project = Project.objects.create_project(name=PROJECT_NAME, release=self.release) - -class AllProjectsViewTestCase(ProvisionedProjectTestCase): - def test_get_base_call_returns_html(self): response = self.client.get(reverse('all-projects'), follow=True) self.assertEqual(response.status_code, 200) -- cgit v1.2.3-54-g00ecf