File tree Expand file tree Collapse file tree 1 file changed +3
-6
lines changed Expand file tree Collapse file tree 1 file changed +3
-6
lines changed Original file line number Diff line number Diff line change @@ -61,10 +61,7 @@ def test_update_with_url_not_found(run_command, httpserver):
61
61
res = run_command (["update" , f"--additional-urls={ url } " ])
62
62
assert res .failed
63
63
lines = [l .strip () for l in res .stderr .splitlines ()]
64
- assert (
65
- f"Error updating core and libraries index: Error downloading index '{ url } ':"
66
- " Server responded with: 404 NOT FOUND" in lines
67
- )
64
+ assert f"Error updating index: Error downloading index '{ url } ': Server responded with: 404 NOT FOUND" in lines
68
65
69
66
70
67
def test_update_with_url_internal_server_error (run_command , httpserver ):
@@ -78,8 +75,8 @@ def test_update_with_url_internal_server_error(run_command, httpserver):
78
75
assert res .failed
79
76
lines = [l .strip () for l in res .stderr .splitlines ()]
80
77
assert (
81
- f"Error updating core and libraries index: Error downloading index '{ url } ':"
82
- " Server responded with: 500 INTERNAL SERVER ERROR" in lines
78
+ f"Error updating index: Error downloading index '{ url } ': Server responded with: 500 INTERNAL SERVER ERROR "
79
+ in lines
83
80
)
84
81
85
82
You canβt perform that action at this time.
0 commit comments