"""Tests for `{{ cookiecutter.project_slug }}.cli.main_cli` module.

These tests are for the default behavior of the `{{ cookiecutter.project_slug }}.cli.main_cli` module.

Some changes may be necessary if the default behavior is changed.
"""

from click.testing import CliRunner

from {{cookiecutter.project_slug}}.cli import  main_cli as cli


def test_command_line_interface():
    """Test the CLI."""
    runner = CliRunner()
    result = runner.invoke(cli.main)
    assert result.exit_code == 0
    assert "Console script for {{ cookiecutter.project_slug }}" in result.output
    help_result = runner.invoke(cli.main, ["--help"])
    assert help_result.exit_code == 0
    assert "Show this message and exit." in help_result.output

"""Tests for `{{ cookiecutter.project_slug }}.cli.main_cli` module.

These tests are for the default behavior of the `{{ cookiecutter.project_slug }}.cli.main_cli` module.

Some changes may be necessary if the default behavior is changed.
"""

from click.testing import CliRunner

from {{cookiecutter.project_slug}}.cli import  main_cli as cli


def test_command_line_interface():
    """Test the CLI."""
    runner = CliRunner()
    result = runner.invoke(cli.main)
    assert result.exit_code == 0
    assert "Console script for {{ cookiecutter.project_slug }}" in result.output
    help_result = runner.invoke(cli.main, ["--help"])
    assert help_result.exit_code == 0
    assert "Show this message and exit." in help_result.output

Tests for `{{ cookiecutter.project_slug }}.cli.main_cli` module.  These tests are for the default behavior of the `{{ cookiecutter.project_slug }}.cli.main_cli` module.  Some changes may be necessary if the default behavior is changed. Test the CLI.