test: Add tests directory to migrate unit tests to project

This commit is contained in:
2023-10-27 15:28:53 +02:00
parent ab2703a4d3
commit 653f90ab90
3 changed files with 16 additions and 0 deletions

14
tests/test_import.py Normal file
View File

@@ -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)