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):
6161 res = run_command (["update" , f"--additional-urls={ url } " ])
6262 assert res .failed
6363 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
6865
6966
7067def 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):
7875 assert res .failed
7976 lines = [l .strip () for l in res .stderr .splitlines ()]
8077 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
8380 )
8481
8582
You can’t perform that action at this time.
0 commit comments