Commit 7a7f8178 authored by Jérome Perrin's avatar Jérome Perrin

test_check_url_available: adjust message for requests 2.27.0

Improved error text for misnamed InvalidSchema and MissingSchema exceptions.

https://github.com/psf/requests/blob/v2.27.0/HISTORY.md#2270-2022-01-03
parent ca3341d5
Pipeline #21446 failed with stage
......@@ -315,7 +315,7 @@ class TestCheckUrlAvailable(CheckUrlAvailableMixin):
self.assertEqual(result['result']['failed'], True)
self.assertEqual(
result['result']['message'],
"ERROR: Invalid URL '': No schema supplied. Perhaps you meant http://?"
"ERROR: Invalid URL '': No scheme supplied. Perhaps you meant http://?"
)
def test_check_url_site_off(self):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment