Skip to content

Commit

Permalink
fix: Rename test_rename_session -> test_session_command
Browse files Browse the repository at this point in the history
  • Loading branch information
jopemachine committed Dec 27, 2024
1 parent 7a93ab2 commit 8d8e412
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions tests/client/cli/test_cli_commands.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,11 +101,15 @@ def test_run_file_or_code_required(
"expected_exit_code": ExitCode.OK,
},
],
ids=["Rename session by uuid", "Rename session by session name"],
ids=["Use session command by uuid", "Use session command by session name"],
)
def test_rename_session(
def test_session_command(
test_case, runner, cli_entrypoint, monkeypatch, example_keypair, unused_tcp_port_factory
):
"""
Test whether the Session CLI commands work correctly when either session_id or session_name is provided as argument.
"""

api_port = unused_tcp_port_factory()
api_url = "http://127.0.0.1:{}".format(api_port)

Expand Down

0 comments on commit 8d8e412

Please sign in to comment.