diff --git a/CHANGES.md b/CHANGES.md index a1fa15e..d7315b4 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -16,9 +16,17 @@ Categories: ### Security --> +## 0.2.2 - 2024-09-12 + +### Fixed + +* Fix issue installing wxPython Docset due folder name with version. [#7](https://github.com/smsearcy/zeal-feeds/issues/7) + ## 0.2.1 - 2023-02-10 -Packaging release to fix broken link to CI status in README. +### Fixed + +* Packaging release to fix broken link to CI status in README. ## 0.2.0 - 2023-02-09 diff --git a/src/zeal_feeds/zeal.py b/src/zeal_feeds/zeal.py index 69913e0..6224bd1 100644 --- a/src/zeal_feeds/zeal.py +++ b/src/zeal_feeds/zeal.py @@ -5,9 +5,7 @@ from __future__ import annotations -import functools import json -import re import sys import tarfile from collections.abc import Iterator @@ -37,6 +35,8 @@ class MetaData: @attrs.define class Zeal: + """Class for interacting with the installed Zeal application.""" + docset_path: Path @classmethod diff --git a/tests/test_zeal.py b/tests/test_zeal.py index e2f81af..1c4c3d8 100644 --- a/tests/test_zeal.py +++ b/tests/test_zeal.py @@ -1,11 +1,11 @@ """Test functionality in the `zeal` module.""" -from zeal_feeds.zeal import Zeal from zeal_feeds.user_contrib import DocSet, DocSetAuthor +from zeal_feeds.zeal import Zeal -def test_docset_install(data_folder, tmp_path) -> None: - +def test_docset_install_wrong_folder_name(data_folder, tmp_path) -> None: + """Verify that a tarball with the "wrong" folder name installs correctly.""" docset_name = "wxPython" docset_archive = "wxPython.tgz"