Skip to content

Commit 4088fdc

Browse files
committed
Fix formatting
1 parent 2b4be4e commit 4088fdc

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

tests/unit/ctl/test_cli.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ def test_validate_all_groups_have_names():
3232
for group in app.registered_groups:
3333
assert group.name
3434

35+
3536
@requires_python_310
3637
def test_version_command():
3738
result = runner.invoke(app, ["version"])
@@ -51,6 +52,7 @@ def mock_common_responses(httpx_mock: HTTPXMock):
5152
json=json.loads(read_fixture("account_profile.json", "info_cmd")),
5253
)
5354

55+
5456
@requires_python_310
5557
def test_info_command_success(httpx_mock: HTTPXMock):
5658
mock_common_responses(httpx_mock)
@@ -60,12 +62,14 @@ def test_info_command_success(httpx_mock: HTTPXMock):
6062
for expected in ["Connection Status", "Python Version", "SDK Version", "Infrahub Version"]:
6163
assert expected in result.stdout, f"'{expected}' not found in info command output"
6264

65+
6366
@requires_python_310
6467
def test_info_command_failure():
6568
result = runner.invoke(app, ["info"])
6669
assert result.exit_code == 0
6770
assert "Connection Error" in result.stdout
6871

72+
6973
@requires_python_310
7074
def test_info_detail_command_success(httpx_mock: HTTPXMock):
7175
mock_common_responses(httpx_mock)
@@ -80,6 +84,7 @@ def test_info_detail_command_success(httpx_mock: HTTPXMock):
8084
]:
8185
assert expected in result.stdout, f"'{expected}' not found in detailed info command output"
8286

87+
8388
@requires_python_310
8489
def test_info_detail_command_failure():
8590
result = runner.invoke(app, ["info", "--detail"])

0 commit comments

Comments
 (0)