The following document contains the fixtures for integration testing on RWS API
Each fixture will be presented in the following format
{'uri': URL, 'method': HTTP Method, 'data': Parameters, 'expected_code': Expected Code, 'return_field': Field name to read, 'setup_information': { 'uri': Set up URL, 'method': HTTP Method, 'data': Parameters, 'expected_code': Expected Code, 'return_field': Field name to read }, 'rollback_information': { 'uri': Rollback URL, 'method': HTTP Method, 'data': Parameters, 'expected_code': Expected Code }, }
An example fixture is the following:
{ 'uri': '/zones/pull.json', 'method': 'post', 'data': {'name': 'test_zone', 'url':'http://google.com'}, 'return_field': 'bucket_id' 'rollback_information': { 'uri': '/zones/pull.json/%s', 'method': 'delete' } }
There was an error while loading. Please reload this page.