You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
447 B
Python
18 lines
447 B
Python
from __future__ import annotations
|
|
|
|
from importlib.metadata import version
|
|
|
|
from iti_system import SystemModule, create_system_module
|
|
from iti_system.__about__ import __version__
|
|
|
|
|
|
def test_create_system_module_returns_full_system_module():
|
|
module = create_system_module()
|
|
|
|
assert isinstance(module, SystemModule)
|
|
assert module.name == "iti_system"
|
|
|
|
|
|
def test_package_exports_version():
|
|
assert __version__ == version("iti-system")
|