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):
75
75
def test_create_index_neither_name_nor_source_passed (runner ):
76
76
result = runner .invoke (main , ["create" ])
77
77
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
79
79
80
80
81
81
def test_create_index_name_and_source_passed (runner ):
@@ -86,7 +86,7 @@ def test_create_index_name_and_source_passed(runner):
86
86
assert result .exit_code == EXIT_CODES ["invalid_command" ]
87
87
assert (
88
88
"Only one of --index and --source options is allowed, not both."
89
- in escape_ansi (result .stdout )
89
+ in escape_ansi (result .stderr )
90
90
)
91
91
92
92
You can’t perform that action at this time.
0 commit comments