It seems like it's safe, because it uses ClickCliRunner for tests, it proxies result_value from click, and click itself supports standalone_mode param. Discussion about the param in typer.
standalone_mode