from ccma import __version__
from ccma.ui.changelog_view import load_changelog


def test_changelog_contains_current_version() -> None:
    entries = load_changelog()
    assert entries
    assert entries[0]["version"] == __version__
    assert entries[0]["changes"]
