Skip to content
Merged
Show file tree
Hide file tree
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
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ responses==0.25.8
schema==0.7.2
snakesay==0.10.4
tabulate==0.9.0
typer==0.18.0
typer==0.20.0
urllib3==2.5.0
virtualenvwrapper==6.1.1
zipp>=3.19.1 # not directly required, pinned by Snyk to avoid a vulnerability
2 changes: 1 addition & 1 deletion tests/test_cli_django.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ def test_main_subcommand_without_args_prints_help():
[],
)
assert result.exit_code == 2
assert "Show this message and exit." in result.stderr
assert "Show this message and exit." in result.stdout


def test_autoconfigure_calls_all_stuff_in_right_order(mock_django_project):
Expand Down
14 changes: 7 additions & 7 deletions tests/test_cli_pa.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@ def test_main_command_without_args_prints_help():
[],
)
assert result.exit_code == 2
assert "This is a new experimental PythonAnywhere cli client." in result.stderr
assert "Makes Django Girls tutorial projects deployment easy" in result.stderr
assert "Perform some operations on files" in result.stderr
assert "Manage scheduled tasks" in result.stderr
assert "Perform some operations on students" in result.stderr
assert "Everything for web apps: use this if you're not using" in result.stderr
assert "EXPERIMENTAL: create and manage ASGI websites" in result.stderr
assert "This is a new experimental PythonAnywhere cli client." in result.stdout
assert "Makes Django Girls tutorial projects deployment easy" in result.stdout
assert "Perform some operations on files" in result.stdout
assert "Manage scheduled tasks" in result.stdout
assert "Perform some operations on students" in result.stdout
assert "Everything for web apps: use this if you're not using" in result.stdout
assert "EXPERIMENTAL: create and manage ASGI websites" in result.stdout
2 changes: 1 addition & 1 deletion tests/test_cli_path.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ def test_main_subcommand_without_args_prints_help():
[],
)
assert result.exit_code == 2
assert "Show this message and exit." in result.stderr
assert "Show this message and exit." in result.stdout


class TestGet:
Expand Down
2 changes: 1 addition & 1 deletion tests/test_cli_schedule.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ def test_main_subcommand_without_args_prints_help():
[],
)
assert result.exit_code == 2
assert "Show this message and exit." in result.stderr
assert "Show this message and exit." in result.stdout


class TestSet:
Expand Down
2 changes: 1 addition & 1 deletion tests/test_cli_students.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ def test_main_subcommand_without_args_prints_help():
[],
)
assert result.exit_code == 2
assert "Show this message and exit." in result.stderr
assert "Show this message and exit." in result.stdout


@pytest.mark.students
Expand Down
2 changes: 1 addition & 1 deletion tests/test_cli_webapp.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ def test_main_subcommand_without_args_prints_help():
[],
)
assert result.exit_code == 2
assert "Show this message and exit." in result.stderr
assert "Show this message and exit." in result.stdout


def test_list_webapps(mocker):
Expand Down
2 changes: 1 addition & 1 deletion tests/test_cli_website.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ def test_main_subcommand_without_args_prints_help():
[],
)
assert result.exit_code == 2
assert "Show this message and exit." in result.stderr
assert "Show this message and exit." in result.stdout


def test_create_without_domain_barfs():
Expand Down