<reponame>2000prath/mailie<filename>tests/cli/test_version.py
from mailie import version


def test_dash_dash_versions(run_mailie):
    result = run_mailie("--version")
    assert result.exit_code == 0
    assert f"Mailie version: {version}\n" == result.output

from mailie import version


def test_dash_dash_versions(run_mailie):
    result = run_mailie("--version")
    assert result.exit_code == 0
    assert f"Mailie version: {version}\n" == result.output