def test_get_controller_reserved_names(self): expected = [ 'maintenance', 'management', 'states', 'vendor_passthru', 'validate', 'detail' ] self.assertEqual( sorted(expected), sorted( utils.get_controller_reserved_names(api_node.NodesController)))
def test_get_controller_reserved_names(self): expected = ['maintenance', 'management', 'ports', 'states', 'vendor_passthru', 'validate', 'detail'] self.assertEqual(sorted(expected), sorted(utils.get_controller_reserved_names( api_node.NodesController)))
def test_get_controller_reserved_names(self): expected = ["maintenance", "management", "states", "vendor_passthru", "validate", "detail"] self.assertEqual(sorted(expected), sorted(utils.get_controller_reserved_names(api_node.NodesController)))