File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -75,7 +75,7 @@ def test_ping(runner):
7575def test_create_index_neither_name_nor_source_passed (runner ):
7676 result = runner .invoke (main , ["create" ])
7777 assert result .exit_code == EXIT_CODES ["invalid_command" ]
78- assert "Must provide either a name or source for the new index." in result .stdout
78+ assert "Must provide either a name or source for the new index." in result .stderr
7979
8080
8181def test_create_index_name_and_source_passed (runner ):
@@ -86,7 +86,7 @@ def test_create_index_name_and_source_passed(runner):
8686 assert result .exit_code == EXIT_CODES ["invalid_command" ]
8787 assert (
8888 "Only one of --index and --source options is allowed, not both."
89- in escape_ansi (result .stdout )
89+ in escape_ansi (result .stderr )
9090 )
9191
9292
You can’t perform that action at this time.
0 commit comments