ansible/test/units/module_utils/urls
Sam Doran 8f4f3750fe
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
2019-05-23 10:17:17 -04:00
..
fixtures Add unit tests for ansible.module_utils.urls (#38059) 2018-04-09 10:17:43 -05:00
__init__.py Add unit tests for ansible.module_utils.urls (#38059) 2018-04-09 10:17:43 -05:00
test_fetch_url.py Ensure uri module always returns status even on failure (#56240) 2019-05-23 10:17:17 -04:00
test_generic_urlparse.py Add unit tests for ansible.module_utils.urls (#38059) 2018-04-09 10:17:43 -05:00
test_RedirectHandlerFactory.py Add unit tests for ansible.module_utils.urls (#38059) 2018-04-09 10:17:43 -05:00
test_Request.py uri/win_uri: Make method a free text field (#49719) 2019-02-28 15:55:18 -05:00
test_RequestWithMethod.py Add unit tests for ansible.module_utils.urls (#38059) 2018-04-09 10:17:43 -05:00
test_urls.py Don't rely on netloc for determining hostname and port, just use hostname and port (#56270) 2019-05-20 16:50:54 -04:00