From 241c4f92c53e18919e5b13fa4d82a025c0e0085e Mon Sep 17 00:00:00 2001 From: Jon Michael Aanes Date: Sat, 26 Oct 2024 13:47:23 +0200 Subject: [PATCH] Added version test --- libpurple_to_markdown/__init__.py | 3 +++ test/test_init.py | 4 ++++ 2 files changed, 7 insertions(+) create mode 100644 test/test_init.py diff --git a/libpurple_to_markdown/__init__.py b/libpurple_to_markdown/__init__.py index 9b32bf0..54dc868 100644 --- a/libpurple_to_markdown/__init__.py +++ b/libpurple_to_markdown/__init__.py @@ -5,6 +5,9 @@ from pathlib import Path import bs4 import logging +from ._version import __version__ +__all__ = ['__version__'] + logger = logging.getLogger(__name__) @dataclasses.dataclass(frozen=True, order=True) diff --git a/test/test_init.py b/test/test_init.py new file mode 100644 index 0000000..0e5e703 --- /dev/null +++ b/test/test_init.py @@ -0,0 +1,4 @@ +import libpurple_to_markdown + +def test_version(): + assert libpurple_to_markdown.__version__ is not None