Skip to content

Commit

Permalink
⚰️ Remove duplicated output in context show
Browse files Browse the repository at this point in the history
  • Loading branch information
jemrobinson committed Jun 27, 2024
1 parent 41c5ce5 commit 7d359a0
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion data_safe_haven/commands/context.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ def show() -> None:
console.print(
f"\tAdmin group name: [blue]{current_context.admin_group_name}[/]",
f"\tDescription: [blue]{current_context.description}[/]",
f"\tName: [blue]{current_context.name}[/]",
f"\tSubscription name: [blue]{current_context.subscription_name}[/]",
sep="\n",
)
Expand Down
1 change: 0 additions & 1 deletion tests/commands/test_context.py
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,6 @@ def test_add_bootstrap(self, tmp_contexts, runner):
result = runner.invoke(context_command_group, ["show"])
assert result.exit_code == 0
assert "Description: Acme Deployment" in result.stdout
assert "Name: acmedeployment" in result.stdout
result = runner.invoke(context_command_group, ["available"])
assert result.exit_code == 0
assert "acmedeployment*" in result.stdout
Expand Down

0 comments on commit 7d359a0

Please sign in to comment.