From 3727324c6c2086fe72a72bd13e1af44959737b7c Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Mon, 22 Apr 2013 02:08:35 +0200 Subject: [PATCH] Rename duplicate test method test_get_method_unknown_controller_action was defined twice, checking however for different things. Rename the 2nd instance to test_get_method_undefined_controller_action instead, otherwise it gets overwritten later and not run. Increases test coverage Change-Id: I64b62560d6db9f6378df8fbc21bd9fada5088b89 --- cinder/tests/api/openstack/test_wsgi.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cinder/tests/api/openstack/test_wsgi.py b/cinder/tests/api/openstack/test_wsgi.py index 9fa89a5bc..77308602d 100644 --- a/cinder/tests/api/openstack/test_wsgi.py +++ b/cinder/tests/api/openstack/test_wsgi.py @@ -215,7 +215,7 @@ class ResourceTest(test.TestCase): expected = 'off' self.assertEqual(actual, expected) - def test_get_method_unknown_controller_action(self): + def test_get_method_undefined_controller_action(self): class Controller(object): def index(self, req, pants=None): return pants -- 2.45.2