1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00
community.general/test/integration/targets/uri/files
Dag Wieers 0aba04fdad win_uri: Add integration tests, new functionality... (#25373)
This is a cleanup of the win_uri module to make it feature-complete.

This PR includes:
- Added check-mode support
- Add as many options from the uri module as possible
  - Added creates
  - Added follow_redirects
  - Added maximum_redirection
  - Added password
  - Added removes
  - Added return_content
  - Added status_code
  - Added timeout
  - Added user
  - Added validate_certs
- Fixed list-handling for comma-separated strings
- Added basic integration tests (should come from uri module)
2017-06-19 17:30:08 +01:00
..
fail0.json
fail1.json
fail2.json
fail3.json
fail4.json
fail5.json
fail6.json
fail7.json
fail8.json
fail9.json
fail10.json
fail11.json
fail12.json
fail13.json
fail14.json
fail15.json
fail16.json
fail17.json
fail18.json
fail19.json
fail20.json
fail21.json
fail22.json
fail23.json
fail24.json
fail25.json
fail26.json
fail27.json
fail28.json
fail29.json
fail30.json
pass0.json
pass1.json
pass2.json
pass3.json
pass4.json
README
testserver.ps1
testserver.py

The files were taken from http://www.json.org/JSON_checker/
> If the JSON_checker is working correctly, it must accept all of the pass*.json files and reject all of the fail*.json files.

Difference with JSON_checker dataset:
  - *${n}.json  renamed to *${n-1}.json to be 0-based
  - fail0.json  renamed to pass3.json   as python json module allows JSON payload to be string
  - fail17.json renamed to pass4.json   as python json module has no problems with deep structures
  - fail32.json renamed to fail0.json   to fill gap
  - fail31.json renamed to fail17.json  to fill gap