File tree Expand file tree Collapse file tree 1 file changed +2
-8
lines changed
Expand file tree Collapse file tree 1 file changed +2
-8
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 downloading index '{ url } ': Server responded with: 404 NOT FOUND" in lines
6865
6966
7067def test_update_with_url_internal_server_error (run_command , httpserver ):
@@ -77,10 +74,7 @@ def test_update_with_url_internal_server_error(run_command, httpserver):
7774 res = run_command (["update" , f"--additional-urls={ url } " ])
7875 assert res .failed
7976 lines = [l .strip () for l in res .stderr .splitlines ()]
80- assert (
81- f"Error updating core and libraries index: Error downloading index '{ url } ':"
82- " Server responded with: 500 INTERNAL SERVER ERROR" in lines
83- )
77+ assert f"Error downloading index '{ url } ': Server responded with: 500 INTERNAL SERVER ERROR" in lines
8478
8579
8680def test_update_showing_outdated_using_library_with_invalid_version (run_command , data_dir ):
You can’t perform that action at this time.
0 commit comments