test_command_line_interface() testcase gives AssertionError for assert 'ddlpy.cli' in result.output
What I Did
from click.testing import CliRunner
from ddlpy import cli
"""Test the CLI."""
runner = CliRunner()
result = runner.invoke(cli.cli)
assert result.exit_code == 0
assert 'ddlpy.cli' in result.output
help_result = runner.invoke(cli.main, ['--help'])
assert help_result.exit_code == 0
assert '--help Show this message and exit.' in help_result.output
Description
test_command_line_interface()
testcase gives AssertionError forassert 'ddlpy.cli' in result.output
What I Did