1
0

Added version test

This commit is contained in:
Jon Michael Aanes 2024-10-26 13:47:23 +02:00
parent 06e8e8b4b1
commit 241c4f92c5
Signed by: Jmaa
SSH Key Fingerprint: SHA256:Ab0GfHGCblESJx7JRE4fj4bFy/KRpeLhi41y4pF3sNA
2 changed files with 7 additions and 0 deletions

View File

@ -5,6 +5,9 @@ from pathlib import Path
import bs4 import bs4
import logging import logging
from ._version import __version__
__all__ = ['__version__']
logger = logging.getLogger(__name__) logger = logging.getLogger(__name__)
@dataclasses.dataclass(frozen=True, order=True) @dataclasses.dataclass(frozen=True, order=True)

4
test/test_init.py Normal file
View File

@ -0,0 +1,4 @@
import libpurple_to_markdown
def test_version():
assert libpurple_to_markdown.__version__ is not None