Project

General

Profile

« Previous | Next » 

Revision 085c9956

Added by Eric Helms about 11 years ago

Pulp2.1 - Updates to how consumer group content tests are handled
to test them properly.

View differences:

test/fixtures/vcr_cassettes/extensions/repository_schedule_removal.yml
method: post
uri: https://admin:admin@localhost/pulp/api/v2/repositories/integration_test_id/importers/yum_importer/schedules/sync/
body:
encoding: US-ASCII
string: "{\"schedule\":\"2012-10-25T20:44:00Z/P7D\"}"
headers:
Content-Length:
- "39"
Content-Type:
- application/json
Accept:
- application/json
Accept-Encoding:
- gzip, deflate
Content-Type:
- application/json
Content-Length:
- "39"
User-Agent:
- Ruby
response:
status:
code: 201
message: Created
headers:
Date:
- Mon, 18 Mar 2013 17:32:58 GMT
Server:
- Apache/2.4.3 (Fedora) OpenSSL/1.0.1c-fips mod_wsgi/3.4 Python/2.7.3
Location:
- /pulp/api/v2/repositories/integration_test_id/importers/yum_importer/schedules/sync/51474fcb4964c84cd4fd5efe/
Content-Length:
- "406"
Date:
- Tue, 26 Feb 2013 00:56:50 GMT
Content-Type:
- application/json
Location:
- /pulp/api/v2/repositories/integration_test_id/importers/yum_importer/schedules/sync/512c08529c60ed7441003194/
Server:
- Apache/2.2.22 (Fedora)
body:
string: "{\"next_run\": \"2013-02-28T20:44:00Z\", \"_href\": \"/pulp/api/v2/repositories/integration_test_id/importers/yum_importer/schedules/sync/512c08529c60ed7441003194/\", \"schedule\": \"2012-10-25T20:44:00Z/P7D\", \"override_config\": {}, \"remaining_runs\": null, \"first_run\": \"2013-02-28T20:44:00Z\", \"enabled\": true, \"last_run\": null, \"failure_threshold\": null, \"_id\": \"512c08529c60ed7441003194\", \"consecutive_failures\": 0}"
encoding: US-ASCII
string: "{\"next_run\": \"2013-03-21T20:44:00Z\", \"_href\": \"/pulp/api/v2/repositories/integration_test_id/importers/yum_importer/schedules/sync/51474fcb4964c84cd4fd5efe/\", \"schedule\": \"2012-10-25T20:44:00Z/P7D\", \"override_config\": {}, \"remaining_runs\": null, \"first_run\": \"2013-03-21T20:44:00Z\", \"enabled\": true, \"last_run\": null, \"failure_threshold\": null, \"_id\": \"51474fcb4964c84cd4fd5efe\", \"consecutive_failures\": 0}"
http_version:
recorded_at: Tue, 26 Feb 2013 00:56:50 GMT
recorded_at: Mon, 18 Mar 2013 17:32:59 GMT
- request:
method: get
uri: https://admin:admin@localhost/pulp/api/v2/repositories/integration_test_id/importers/yum_importer/schedules/sync/
body:
encoding: US-ASCII
string: ""
headers:
Content-Type:
- application/json
Accept:
- application/json
Accept-Encoding:
- gzip, deflate
Content-Type:
- application/json
User-Agent:
- Ruby
response:
status:
code: 200
message: OK
headers:
Date:
- Mon, 18 Mar 2013 17:32:59 GMT
Server:
- Apache/2.4.3 (Fedora) OpenSSL/1.0.1c-fips mod_wsgi/3.4 Python/2.7.3
Content-Length:
- "408"
Date:
- Tue, 26 Feb 2013 00:56:50 GMT
Content-Type:
- application/json
Server:
- Apache/2.2.22 (Fedora)
body:
string: "[{\"next_run\": \"2013-02-28T20:44:00Z\", \"_href\": \"/pulp/api/v2/repositories/integration_test_id/importers/yum_importer/schedules/sync/512c08529c60ed7441003194/\", \"schedule\": \"2012-10-25T20:44:00Z/P7D\", \"override_config\": {}, \"remaining_runs\": null, \"first_run\": \"2013-02-28T20:44:00Z\", \"enabled\": true, \"last_run\": null, \"failure_threshold\": null, \"_id\": \"512c08529c60ed7441003194\", \"consecutive_failures\": 0}]"
encoding: US-ASCII
string: "[{\"next_run\": \"2013-03-21T20:44:00Z\", \"_href\": \"/pulp/api/v2/repositories/integration_test_id/importers/yum_importer/schedules/sync/51474fcb4964c84cd4fd5efe/\", \"schedule\": \"2012-10-25T20:44:00Z/P7D\", \"override_config\": {}, \"remaining_runs\": null, \"first_run\": \"2013-03-21T20:44:00Z\", \"enabled\": true, \"last_run\": null, \"failure_threshold\": null, \"_id\": \"51474fcb4964c84cd4fd5efe\", \"consecutive_failures\": 0}]"
http_version:
recorded_at: Tue, 26 Feb 2013 00:56:51 GMT
recorded_at: Mon, 18 Mar 2013 17:32:59 GMT
- request:
method: delete
uri: https://admin:admin@localhost/pulp/api/v2/repositories/integration_test_id/importers/yum_importer/schedules/sync/512c08529c60ed7441003194/
uri: https://admin:admin@localhost/pulp/api/v2/repositories/integration_test_id/importers/yum_importer/schedules/sync/51474fcb4964c84cd4fd5efe/
body:
encoding: US-ASCII
string: ""
headers:
Content-Type:
- application/json
Accept:
- application/json
Accept-Encoding:
- gzip, deflate
Content-Type:
- application/json
User-Agent:
- Ruby
response:
status:
code: 200
message: OK
headers:
Date:
- Mon, 18 Mar 2013 17:32:59 GMT
Server:
- Apache/2.4.3 (Fedora) OpenSSL/1.0.1c-fips mod_wsgi/3.4 Python/2.7.3
Content-Length:
- "4"
Date:
- Tue, 26 Feb 2013 00:56:51 GMT
Content-Type:
- application/json
Server:
- Apache/2.2.22 (Fedora)
body:
encoding: US-ASCII
string: "null"
http_version:
recorded_at: Tue, 26 Feb 2013 00:56:51 GMT
recorded_with: VCR 2.3.0
recorded_at: Mon, 18 Mar 2013 17:32:59 GMT
recorded_with: VCR 2.4.0

Also available in: Unified diff