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
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