def METHOD_NAME(self):
    docs = """
    {
        "MY_VAR": {
            "description": "A var.",
            "type": "string",
            "regex": ".*",
            "regex_tests": [
                { "val": "will you be my match?", "should_match": true }
            ],
            "mode": "HIDDEN"
        }
    }
    """
    with tempfile.NamedTemporaryFile(mode='w') as envvar:
        envvar.write(docs)
        envvar.flush()
        os.environ["ENV_VAR_DOCS_PATH"] = envvar.name
        os.environ["LOCAL_OUTPUT"] = True
        # Test that main does not exit.
        main()