Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions tests/test_repl/test_shell.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ def mock_eof(prompt):
monkeypatch.setattr(builtins, "input", mock_eof)

@recline.command(atstart=True)
def startup():
def startup_test_command():
nonlocal startup_command_ran
startup_command_ran = True

Expand Down Expand Up @@ -132,7 +132,7 @@ def test_run_non_repl():
"""

@recline.command(name="single command non repl")
def single_cmd():
def single_cmd_non_repl():
return 73

assert shell.relax(argv=["ut_program", "single", "command", "non", "repl"], repl_mode=False) == 73
Expand All @@ -144,7 +144,7 @@ def test_run_single_command():
"""

@recline.command(name="single command one shot")
def single_cmd():
def single_cmd_one_shot():
return 73

assert shell.relax(argv=["ut_program"], single_command="single command one shot") == 73
Expand Down
Loading