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 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
5 years ago
..
fixtures Add unit tests for ansible.module_utils.urls (#38059) 7 years ago
__init__.py Add unit tests for ansible.module_utils.urls (#38059) 7 years ago
test_RedirectHandlerFactory.py Add unit tests for ansible.module_utils.urls (#38059) 7 years ago
test_Request.py uri/win_uri: Make method a free text field (#49719) 6 years ago
test_RequestWithMethod.py Add unit tests for ansible.module_utils.urls (#38059) 7 years ago
test_fetch_url.py Ensure uri module always returns status even on failure (#56240) 5 years ago
test_generic_urlparse.py Add unit tests for ansible.module_utils.urls (#38059) 7 years ago
test_urls.py Don't rely on netloc for determining hostname and port, just use hostname and port (#56270) 5 years ago