diff options
Diffstat (limited to 'tests/manager/test_knot_resolver_manager.py')
-rw-r--r-- | tests/manager/test_knot_resolver_manager.py | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/manager/test_knot_resolver_manager.py b/tests/manager/test_knot_resolver_manager.py new file mode 100644 index 00000000..108b3b55 --- /dev/null +++ b/tests/manager/test_knot_resolver_manager.py @@ -0,0 +1,12 @@ +import toml + +from knot_resolver import __version__ + + +def test_version(): + + with open("pyproject.toml", "r") as f: + pyproject = toml.load(f) + + version = pyproject["tool"]["poetry"]["version"] + assert __version__ == version |