/ tests / server / auth / test_cli.py
test_cli.py
1  from click.testing import CliRunner
2  
3  from mlflow.server.auth import cli
4  
5  
6  def test_cli():
7      runner = CliRunner()
8      res = runner.invoke(cli.commands, ["--help"], catch_exceptions=False)
9      assert res.exit_code == 0, res.output