mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-04-28 13:21:25 -07:00
Add requests.Session like class (#37622)
* Adds requests.Session like class * py2 syntax fix * Add a few examples to the Request docstrings * Add helper methods and docs * Fix test failures * Switch tests to test Request instead of open_url, add simple open_url test to validate funcitonality * Fix filename in replace-urlopen code smell test
This commit is contained in:
parent
c86fd6e2df
commit
d4930e6692
3 changed files with 440 additions and 172 deletions
|
@ -10,7 +10,7 @@ def main():
|
|||
'test/sanity/code-smell/%s' % os.path.basename(__file__),
|
||||
'lib/ansible/module_utils/six/__init__.py',
|
||||
'lib/ansible/module_utils/urls.py',
|
||||
'test/units/module_utils/urls/test_open_url.py',
|
||||
'test/units/module_utils/urls/test_Request.py',
|
||||
'test/units/module_utils/urls/test_fetch_url.py',
|
||||
])
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue