def METHOD_NAME(self):
    # Invalid jmespath expression.
    parsed_args = FakeParsedArgs(query='foo.bar.')
    with self.assertRaises(ValueError):
        globalargs.resolve_types(parsed_args)
        globalargs.resolve_types('query')