def METHOD_NAME(self) -> None:
    """Test _register_variable."""
    obj = RunwayDeploymentDefinition.parse_obj(
        {"name": "test", "regions": ["us-east-1"]}
    )
    assert obj._vars["regions"].name == "test.regions"