You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
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>
7 years ago
..
fixtures Add unit tests for ansible.module_utils.urls (#38059) 8 years ago
__init__.py Add unit tests for ansible.module_utils.urls (#38059) 8 years ago
test_RedirectHandlerFactory.py Add unit tests for ansible.module_utils.urls (#38059) 8 years ago
test_Request.py uri/win_uri: Make method a free text field (#49719) 7 years ago
test_RequestWithMethod.py Add unit tests for ansible.module_utils.urls (#38059) 8 years ago
test_fetch_url.py [stable-2.8] Ensure uri module always returns status even on failure (#56240) 7 years ago
test_generic_urlparse.py Add unit tests for ansible.module_utils.urls (#38059) 8 years ago
test_urls.py [stable-2.8] Don't rely on netloc for determining hostname and port, just use hostname and port (#56270) 7 years ago