ansible/test/units/module_utils/urls
Sam Doran bd011688dd [stable-2.8] Ensure uri module always returns status even on failure (#56240)
- Also return url and update docs for other values to indicate they are only returned on success.
- Add integration tests
- Use info variable for common return values
- Use -1 as default status rather than None. This is lines up with with existing code in urls.py
- Add unit tests to ensure status and url are returned on failure
(cherry picked from commit 8f4f3750fe)

Co-authored-by: Sam Doran <sdoran@redhat.com>
2019-05-24 10:52:05 -07:00
..
fixtures
__init__.py
test_fetch_url.py [stable-2.8] Ensure uri module always returns status even on failure (#56240) 2019-05-24 10:52:05 -07:00
test_generic_urlparse.py
test_RedirectHandlerFactory.py
test_Request.py uri/win_uri: Make method a free text field (#49719) 2019-02-28 15:55:18 -05:00
test_RequestWithMethod.py
test_urls.py [stable-2.8] Don't rely on netloc for determining hostname and port, just use hostname and port (#56270) 2019-05-22 11:44:19 -07:00