def test_cli_name(test_apps):
 from cliapp.app import testapp
 assert (testapp.cli.name == testapp.name)

def test_cli_name ( test_apps ) : from cliapp . app import testapp assert ( testapp . cli . name == testapp . name )
make sure the cli objects name is the apps name and not the app itself .