def test_cli_name(test_apps):
    """Make sure the CLI object's name is the app's name and not the app itself"""
    from cliapp.app import testapp

    assert testapp.cli.name == testapp.name
Make sure the CLI object's name is the app's name and not the app itself
tests/test_cli.py