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):
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 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 ):
@@ -77,10 +74,7 @@ def test_update_with_url_internal_server_error(run_command, httpserver):
77
74
res = run_command (["update" , f"--additional-urls={ url } " ])
78
75
assert res .failed
79
76
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
84
78
85
79
86
80
def 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