ahriman/tests/ahriman/core/test_util.py
Evgenii Alekseev beb6156795 fix: print current and updated version correctly
The issue appears in case if versions ar the same (e.g. rebuild); in
this case printer doesn't increment version as builder does.

Also util has been renamed to utils, keeping backward compatibiltiy
2024-08-16 16:24:11 +03:00

12 lines
257 B
Python

import ahriman.core.utils
from ahriman.core.util import *
def test_import() -> None:
"""
ahriman.core.util must provide same methods as ahriman.core.utils module
"""
for method in dir():
assert hasattr(ahriman.core.utils, method)