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 Migrate Linux CI roles to test targets. (#17997) 2016-10-13 09:09:25 -07:00
fail1.json Migrate Linux CI roles to test targets. (#17997) 2016-10-13 09:09:25 -07:00
fail2.json Migrate Linux CI roles to test targets. (#17997) 2016-10-13 09:09:25 -07:00
fail3.json Migrate Linux CI roles to test targets. (#17997) 2016-10-13 09:09:25 -07:00
fail4.json Migrate Linux CI roles to test targets. (#17997) 2016-10-13 09:09:25 -07:00
fail5.json Migrate Linux CI roles to test targets. (#17997) 2016-10-13 09:09:25 -07:00
fail6.json Migrate Linux CI roles to test targets. (#17997) 2016-10-13 09:09:25 -07:00
fail7.json Migrate Linux CI roles to test targets. (#17997) 2016-10-13 09:09:25 -07:00
fail8.json Migrate Linux CI roles to test targets. (#17997) 2016-10-13 09:09:25 -07:00
fail9.json Migrate Linux CI roles to test targets. (#17997) 2016-10-13 09:09:25 -07:00
fail10.json Migrate Linux CI roles to test targets. (#17997) 2016-10-13 09:09:25 -07:00
fail11.json Migrate Linux CI roles to test targets. (#17997) 2016-10-13 09:09:25 -07:00
fail12.json Migrate Linux CI roles to test targets. (#17997) 2016-10-13 09:09:25 -07:00
fail13.json Migrate Linux CI roles to test targets. (#17997) 2016-10-13 09:09:25 -07:00
fail14.json Migrate Linux CI roles to test targets. (#17997) 2016-10-13 09:09:25 -07:00
fail15.json Migrate Linux CI roles to test targets. (#17997) 2016-10-13 09:09:25 -07:00
fail16.json Migrate Linux CI roles to test targets. (#17997) 2016-10-13 09:09:25 -07:00
fail17.json Migrate Linux CI roles to test targets. (#17997) 2016-10-13 09:09:25 -07:00
fail18.json Migrate Linux CI roles to test targets. (#17997) 2016-10-13 09:09:25 -07:00
fail19.json Migrate Linux CI roles to test targets. (#17997) 2016-10-13 09:09:25 -07:00
fail20.json Migrate Linux CI roles to test targets. (#17997) 2016-10-13 09:09:25 -07:00
fail21.json Migrate Linux CI roles to test targets. (#17997) 2016-10-13 09:09:25 -07:00
fail22.json Migrate Linux CI roles to test targets. (#17997) 2016-10-13 09:09:25 -07:00
fail23.json Migrate Linux CI roles to test targets. (#17997) 2016-10-13 09:09:25 -07:00
fail24.json Migrate Linux CI roles to test targets. (#17997) 2016-10-13 09:09:25 -07:00
fail25.json Migrate Linux CI roles to test targets. (#17997) 2016-10-13 09:09:25 -07:00
fail26.json Migrate Linux CI roles to test targets. (#17997) 2016-10-13 09:09:25 -07:00
fail27.json Migrate Linux CI roles to test targets. (#17997) 2016-10-13 09:09:25 -07:00
fail28.json Migrate Linux CI roles to test targets. (#17997) 2016-10-13 09:09:25 -07:00
fail29.json Migrate Linux CI roles to test targets. (#17997) 2016-10-13 09:09:25 -07:00
fail30.json Migrate Linux CI roles to test targets. (#17997) 2016-10-13 09:09:25 -07:00
pass0.json Migrate Linux CI roles to test targets. (#17997) 2016-10-13 09:09:25 -07:00
pass1.json Migrate Linux CI roles to test targets. (#17997) 2016-10-13 09:09:25 -07:00
pass2.json Migrate Linux CI roles to test targets. (#17997) 2016-10-13 09:09:25 -07:00
pass3.json Migrate Linux CI roles to test targets. (#17997) 2016-10-13 09:09:25 -07:00
pass4.json Migrate Linux CI roles to test targets. (#17997) 2016-10-13 09:09:25 -07:00
README Migrate Linux CI roles to test targets. (#17997) 2016-10-13 09:09:25 -07:00
testserver.ps1 win_uri: Add integration tests, new functionality... (#25373) 2017-06-19 17:30:08 +01:00
testserver.py test/: PEP8 compliancy (#24803) 2017-05-30 18:05:19 +01:00

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