Revision 085c9956
Added by Eric Helms about 11 years ago
test/fixtures/vcr_cassettes/user_support.yml | ||
---|---|---|
method: post
|
||
uri: https://admin:admin@localhost/pulp/api/v2/users/
|
||
body:
|
||
encoding: US-ASCII
|
||
string: "{\"login\":\"integration_test_user\"}"
|
||
headers:
|
||
Content-Length:
|
||
- "33"
|
||
Content-Type:
|
||
- application/json
|
||
Accept:
|
||
- application/json
|
||
Accept-Encoding:
|
||
- gzip, deflate
|
||
Content-Type:
|
||
- application/json
|
||
Content-Length:
|
||
- "33"
|
||
User-Agent:
|
||
- Ruby
|
||
response:
|
||
status:
|
||
code: 201
|
||
message: Created
|
||
headers:
|
||
Date:
|
||
- Mon, 18 Mar 2013 17:36:03 GMT
|
||
Server:
|
||
- Apache/2.4.3 (Fedora) OpenSSL/1.0.1c-fips mod_wsgi/3.4 Python/2.7.3
|
||
Location:
|
||
- integration_test_user
|
||
Content-Length:
|
||
- "229"
|
||
Date:
|
||
- Tue, 26 Feb 2013 01:00:21 GMT
|
||
Content-Type:
|
||
- application/json
|
||
Location:
|
||
- integration_test_user
|
||
Server:
|
||
- Apache/2.2.22 (Fedora)
|
||
body:
|
||
string: "{\"_id\": {\"$oid\": \"512c09259c60ed7441003894\"}, \"name\": \"integration_test_user\", \"roles\": [], \"_ns\": \"users\", \"login\": \"integration_test_user\", \"id\": \"512c09259c60ed7441003894\", \"_href\": \"/pulp/api/v2/users/integration_test_user/\"}"
|
||
encoding: US-ASCII
|
||
string: "{\"_id\": {\"$oid\": \"514750834964c84cd4fd661c\"}, \"name\": \"integration_test_user\", \"roles\": [], \"_ns\": \"users\", \"login\": \"integration_test_user\", \"id\": \"514750834964c84cd4fd661c\", \"_href\": \"/pulp/api/v2/users/integration_test_user/\"}"
|
||
http_version:
|
||
recorded_at: Tue, 26 Feb 2013 01:00:21 GMT
|
||
recorded_at: Mon, 18 Mar 2013 17:36:04 GMT
|
||
- request:
|
||
method: get
|
||
uri: https://admin:admin@localhost/pulp/api/v2/users/integration_test_user/
|
||
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:36:05 GMT
|
||
Server:
|
||
- Apache/2.4.3 (Fedora) OpenSSL/1.0.1c-fips mod_wsgi/3.4 Python/2.7.3
|
||
Content-Length:
|
||
- "302"
|
||
Date:
|
||
- Tue, 26 Feb 2013 01:00:22 GMT
|
||
Content-Type:
|
||
- application/json
|
||
Server:
|
||
- Apache/2.2.22 (Fedora)
|
||
body:
|
||
string: "{\"_id\": {\"$oid\": \"512c09269c60ed74410038c2\"}, \"name\": \"integration_test_user\", \"roles\": [], \"_ns\": \"users\", \"login\": \"integration_test_user\", \"password\": \"pGGxO5Mq8CA=,goLJLZmLVepFUIq0Zu0PFPOqUq5WkMiv6fDgtDvUms4=\", \"id\": \"512c09269c60ed74410038c2\", \"_href\": \"/pulp/api/v2/users/integration_test_user/\"}"
|
||
encoding: US-ASCII
|
||
string: "{\"_id\": {\"$oid\": \"514750854964c84cd4fd664a\"}, \"name\": \"integration_test_user\", \"roles\": [], \"_ns\": \"users\", \"login\": \"integration_test_user\", \"password\": \"U68yjGhTF+M=,LLXpk9E0o/szVBPUSHDZutZt9or0iko5WPO2J04v4dY=\", \"id\": \"514750854964c84cd4fd664a\", \"_href\": \"/pulp/api/v2/users/integration_test_user/\"}"
|
||
http_version:
|
||
recorded_at: Tue, 26 Feb 2013 01:00:23 GMT
|
||
recorded_at: Mon, 18 Mar 2013 17:36:05 GMT
|
||
- request:
|
||
method: delete
|
||
uri: https://admin:admin@localhost/pulp/api/v2/users/integration_test_user/
|
||
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:36:05 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 01:00:23 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 01:00:23 GMT
|
||
recorded_with: VCR 2.3.0
|
||
recorded_at: Mon, 18 Mar 2013 17:36:06 GMT
|
||
recorded_with: VCR 2.4.0
|
Also available in: Unified diff
Pulp2.1 - Updates to how consumer group content tests are handled
to test them properly.