diff --git a/MANIFEST.in b/MANIFEST.in index 104d6cd..c955682 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -6,3 +6,4 @@ include MANIFEST.in include README.md include requirements.txt include setup.py +recursive-include tests * diff --git a/requirements.txt b/requirements.txt index 0ce950e..2b87f61 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,4 +1,5 @@ # Build dependencies +pytest-cov setuptools sphinx wheel diff --git a/tests/test_import.py b/tests/test_import.py new file mode 100644 index 0000000..eb19538 --- /dev/null +++ b/tests/test_import.py @@ -0,0 +1,14 @@ +# -*- coding: utf-8 -*- +"""Test module import.""" +# SPDX-FileCopyrightText: 2023 Sven Sager +# SPDX-License-Identifier: GPL-2.0-or-later + +import unittest + + +class ModuleImport(unittest.TestCase): + def test_import(self): + """Test the import of the module.""" + import revpimodio2 + + self.assertEqual(type(revpimodio2.__version__), str)