File tree Expand file tree Collapse file tree 7 files changed +13
-13
lines changed
Expand file tree Collapse file tree 7 files changed +13
-13
lines changed Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ def test_main_subcommand_without_args_prints_help():
3939 [],
4040 )
4141 assert result .exit_code == 2
42- assert "Show this message and exit." in result .stderr
42+ assert "Show this message and exit." in result .stdout
4343
4444
4545def test_autoconfigure_calls_all_stuff_in_right_order (mock_django_project ):
Original file line number Diff line number Diff line change @@ -15,10 +15,10 @@ def test_main_command_without_args_prints_help():
1515 [],
1616 )
1717 assert result .exit_code == 2
18- assert "This is a new experimental PythonAnywhere cli client." in result .stderr
19- assert "Makes Django Girls tutorial projects deployment easy" in result .stderr
20- assert "Perform some operations on files" in result .stderr
21- assert "Manage scheduled tasks" in result .stderr
22- assert "Perform some operations on students" in result .stderr
23- assert "Everything for web apps: use this if you're not using" in result .stderr
24- assert "EXPERIMENTAL: create and manage ASGI websites" in result .stderr
18+ assert "This is a new experimental PythonAnywhere cli client." in result .stdout
19+ assert "Makes Django Girls tutorial projects deployment easy" in result .stdout
20+ assert "Perform some operations on files" in result .stdout
21+ assert "Manage scheduled tasks" in result .stdout
22+ assert "Perform some operations on students" in result .stdout
23+ assert "Everything for web apps: use this if you're not using" in result .stdout
24+ assert "EXPERIMENTAL: create and manage ASGI websites" in result .stdout
Original file line number Diff line number Diff line change @@ -47,7 +47,7 @@ def test_main_subcommand_without_args_prints_help():
4747 [],
4848 )
4949 assert result .exit_code == 2
50- assert "Show this message and exit." in result .stderr
50+ assert "Show this message and exit." in result .stdout
5151
5252
5353class TestGet :
Original file line number Diff line number Diff line change @@ -46,7 +46,7 @@ def test_main_subcommand_without_args_prints_help():
4646 [],
4747 )
4848 assert result .exit_code == 2
49- assert "Show this message and exit." in result .stderr
49+ assert "Show this message and exit." in result .stdout
5050
5151
5252class TestSet :
Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ def test_main_subcommand_without_args_prints_help():
2828 [],
2929 )
3030 assert result .exit_code == 2
31- assert "Show this message and exit." in result .stderr
31+ assert "Show this message and exit." in result .stdout
3232
3333
3434@pytest .mark .students
Original file line number Diff line number Diff line change @@ -45,7 +45,7 @@ def test_main_subcommand_without_args_prints_help():
4545 [],
4646 )
4747 assert result .exit_code == 2
48- assert "Show this message and exit." in result .stderr
48+ assert "Show this message and exit." in result .stdout
4949
5050
5151def test_list_webapps (mocker ):
Original file line number Diff line number Diff line change @@ -67,7 +67,7 @@ def test_main_subcommand_without_args_prints_help():
6767 [],
6868 )
6969 assert result .exit_code == 2
70- assert "Show this message and exit." in result .stderr
70+ assert "Show this message and exit." in result .stdout
7171
7272
7373def test_create_without_domain_barfs ():
You can’t perform that action at this time.
0 commit comments