'InvalidInput raised if more directions are given.'

def test_process_sort_params_extra_dirs_lengths(self):

    self.assertRaises(exception.InvalidInput, sqlalchemy_api.process_sort_params, ['key1', 'key2'], ['asc', 'desc', 'desc'])
