Skip to content

Commit 30e29a5

Browse files
committed
update the test cases
1 parent d5aaca6 commit 30e29a5

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

devolv/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
__version__ = "0.2.2"
1+
__version__ = "0.2.3"
22

tests/test_cli.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
import os
66
import pytest
77
from devolv.iam.validator.core import validate_policy_file
8+
from devolv import __version__
89

910
runner = CliRunner()
1011

@@ -89,7 +90,7 @@ def test_cli_root_help():
8990
def test_cli_version():
9091
result = runner.invoke(app, ["--version"])
9192
assert result.exit_code == 0
92-
assert "0.1." in result.output # Adjust if dynamic version
93+
assert __version__ in result.output # Adjust if dynamic version
9394

9495
def test_cli_unsupported_path(tmp_path):
9596
# Just pass a bogus path string that isn't a file or directory

0 commit comments

Comments
 (0)