interactions:
- request:
    body: null
    headers:
      Accept:
      - '*/*'
      Accept-Encoding:
      - gzip, deflate
      Connection:
      - keep-alive
      User-Agent:
      - python-requests/2.25.1
    method: GET
    uri: http://127.0.0.1:33113/rest/bug?id=7&include_fields=assigned_to&include_fields=blocks&include_fields=cc&include_fields=cf_stabilisation_atoms&include_fields=component&include_fields=depends_on&include_fields=flags&include_fields=id&include_fields=keywords&include_fields=last_change_time&include_fields=product&include_fields=resolution&include_fields=whiteboard
  response:
    body:
      string: '{"bugs":[{"blocks":[3],"assigned_to":"test@example.com","resolution":"","component":"Stabilization","cf_stabilisation_atoms":"dev-python/pytest-5.4.1","keywords":["ALLARCHES"],"depends_on":[],"product":"Gentoo
        Linux","cc":[],"last_change_time":"2020-04-03T13:28:17Z","id":7,"cc_detail":[],"flags":[],"whiteboard":"","assigned_to_detail":{"real_name":"Test
        developer","id":1,"email":"test@example.com","name":"test@example.com"}}]}'
    headers:
      Access-control-allow-headers:
      - origin, content-type, accept, x-requested-with
      Access-control-allow-origin:
      - '*'
      Connection:
      - Keep-Alive
      Content-Type:
      - application/json; charset=UTF-8
      Content-security-policy:
      - frame-ancestors 'self'
      Date:
      - Fri, 16 Apr 2021 08:51:42 GMT
      Etag:
      - 9cdg/+PIRbjwHrvI0h81Hw
      Keep-Alive:
      - timeout=15, max=100
      Server:
      - Apache
      Transfer-Encoding:
      - chunked
      X-content-type-options:
      - nosniff
      X-frame-options:
      - SAMEORIGIN
      X-xss-protection:
      - 1; mode=block
    status:
      code: 200
      message: OK
- request:
    body: null
    headers:
      Accept:
      - '*/*'
      Accept-Encoding:
      - gzip, deflate
      Connection:
      - keep-alive
      User-Agent:
      - python-requests/2.25.1
    method: GET
    uri: http://127.0.0.1:33113/rest/bug/7/comment
  response:
    body:
      string: '{"bugs":{"7":{"comments":[{"count":0,"creator":"test@example.com","time":"2020-04-03T13:28:17Z","tags":[],"text":"","id":7,"is_private":false,"bug_id":7,"attachment_id":null,"creation_time":"2020-04-03T13:28:17Z"}]}},"comments":{}}'
    headers:
      Access-control-allow-headers:
      - origin, content-type, accept, x-requested-with
      Access-control-allow-origin:
      - '*'
      Connection:
      - Keep-Alive
      Content-Type:
      - application/json; charset=UTF-8
      Content-security-policy:
      - frame-ancestors 'self'
      Date:
      - Fri, 16 Apr 2021 08:51:43 GMT
      Etag:
      - wexzKYpVkNextHp5XZ9gqw
      Keep-Alive:
      - timeout=15, max=99
      Server:
      - Apache
      Transfer-Encoding:
      - chunked
      X-content-type-options:
      - nosniff
      X-frame-options:
      - SAMEORIGIN
      X-xss-protection:
      - 1; mode=block
    status:
      code: 200
      message: OK
- request:
    body: null
    headers:
      Accept:
      - '*/*'
      Accept-Encoding:
      - gzip, deflate
      Connection:
      - keep-alive
      User-Agent:
      - python-requests/2.25.1
    method: GET
    uri: http://127.0.0.1:33113/rest/bug/7/comment
  response:
    body:
      string: '{"bugs":{"7":{"comments":[{"creation_time":"2020-04-03T13:28:17Z","text":"","time":"2020-04-03T13:28:17Z","tags":[],"is_private":false,"count":0,"id":7,"attachment_id":null,"creator":"test@example.com","bug_id":7}]}},"comments":{}}'
    headers:
      Access-control-allow-headers:
      - origin, content-type, accept, x-requested-with
      Access-control-allow-origin:
      - '*'
      Connection:
      - Keep-Alive
      Content-Type:
      - application/json; charset=UTF-8
      Content-security-policy:
      - frame-ancestors 'self'
      Date:
      - Fri, 16 Apr 2021 08:51:43 GMT
      Etag:
      - wexzKYpVkNextHp5XZ9gqw
      Keep-Alive:
      - timeout=15, max=98
      Server:
      - Apache
      Transfer-Encoding:
      - chunked
      X-content-type-options:
      - nosniff
      X-frame-options:
      - SAMEORIGIN
      X-xss-protection:
      - 1; mode=block
    status:
      code: 200
      message: OK
- request:
    body: null
    headers:
      Accept:
      - '*/*'
      Accept-Encoding:
      - gzip, deflate
      Connection:
      - keep-alive
      User-Agent:
      - python-requests/2.25.1
    method: GET
    uri: http://127.0.0.1:33113/rest/whoami
  response:
    body:
      string: '{"name":"nattka@gentoo.org","real_name":"NATTkA","id":2}'
    headers:
      Access-control-allow-headers:
      - origin, content-type, accept, x-requested-with
      Access-control-allow-origin:
      - '*'
      Connection:
      - Keep-Alive
      Content-Type:
      - application/json; charset=UTF-8
      Content-security-policy:
      - frame-ancestors 'self'
      Date:
      - Fri, 16 Apr 2021 08:51:44 GMT
      Etag:
      - mVytJ9+Su1npSL9ztIqPVQ
      Keep-Alive:
      - timeout=15, max=97
      Server:
      - Apache
      Transfer-Encoding:
      - chunked
      X-content-type-options:
      - nosniff
      X-frame-options:
      - SAMEORIGIN
      X-xss-protection:
      - 1; mode=block
    status:
      code: 200
      message: OK
- request:
    body: '{"ids": [7], "flags": [{"name": "sanity-check", "status": "+"}], "keywords":
      {"add": [], "remove": ["ALLARCHES"]}}'
    headers:
      Accept:
      - '*/*'
      Accept-Encoding:
      - gzip, deflate
      Connection:
      - keep-alive
      Content-Length:
      - '114'
      Content-Type:
      - application/json
      User-Agent:
      - python-requests/2.25.1
    method: PUT
    uri: http://127.0.0.1:33113/rest/bug/7
  response:
    body:
      string: '{"bugs":[{"id":7,"alias":[],"changes":{"flagtypes.name":{"added":"sanity-check+","removed":""},"keywords":{"added":"","removed":"ALLARCHES"}},"last_change_time":"2021-04-16T08:51:45Z"}]}'
    headers:
      Access-control-allow-headers:
      - origin, content-type, accept, x-requested-with
      Access-control-allow-origin:
      - '*'
      Connection:
      - Keep-Alive
      Content-Type:
      - application/json; charset=UTF-8
      Content-security-policy:
      - frame-ancestors 'self'
      Date:
      - Fri, 16 Apr 2021 08:51:44 GMT
      Etag:
      - gf527yYJ2tXiLb0SN1q5NA
      Keep-Alive:
      - timeout=15, max=96
      Server:
      - Apache
      Transfer-Encoding:
      - chunked
      X-content-type-options:
      - nosniff
      X-frame-options:
      - SAMEORIGIN
      X-xss-protection:
      - 1; mode=block
    status:
      code: 200
      message: OK
- request:
    body: null
    headers:
      Accept:
      - '*/*'
      Accept-Encoding:
      - gzip, deflate
      Connection:
      - keep-alive
      User-Agent:
      - python-requests/2.25.1
    method: GET
    uri: http://127.0.0.1:33113/rest/bug?id=7&include_fields=assigned_to&include_fields=blocks&include_fields=cc&include_fields=cf_stabilisation_atoms&include_fields=component&include_fields=depends_on&include_fields=flags&include_fields=id&include_fields=keywords&include_fields=last_change_time&include_fields=product&include_fields=resolution&include_fields=whiteboard
  response:
    body:
      string: '{"bugs":[{"cc":[],"component":"Stabilization","depends_on":[],"keywords":[],"cc_detail":[],"product":"Gentoo
        Linux","assigned_to":"test@example.com","last_change_time":"2021-04-16T08:51:45Z","id":7,"whiteboard":"","resolution":"","cf_stabilisation_atoms":"dev-python/pytest-5.4.1","flags":[{"name":"sanity-check","modification_date":"2021-04-16T08:51:45Z","setter":"nattka@gentoo.org","creation_date":"2021-04-16T08:51:45Z","type_id":1,"id":8,"status":"+"}],"blocks":[3],"assigned_to_detail":{"id":1,"real_name":"Test
        developer","email":"test@example.com","name":"test@example.com"}}]}'
    headers:
      Access-control-allow-headers:
      - origin, content-type, accept, x-requested-with
      Access-control-allow-origin:
      - '*'
      Connection:
      - Keep-Alive
      Content-Type:
      - application/json; charset=UTF-8
      Content-security-policy:
      - frame-ancestors 'self'
      Date:
      - Fri, 16 Apr 2021 08:51:45 GMT
      Etag:
      - WlyrYW9fXdiachWts89Vcw
      Keep-Alive:
      - timeout=15, max=95
      Server:
      - Apache
      Transfer-Encoding:
      - chunked
      X-content-type-options:
      - nosniff
      X-frame-options:
      - SAMEORIGIN
      X-xss-protection:
      - 1; mode=block
    status:
      code: 200
      message: OK
- request:
    body: null
    headers:
      Accept:
      - '*/*'
      Accept-Encoding:
      - gzip, deflate
      Connection:
      - keep-alive
      User-Agent:
      - python-requests/2.25.1
    method: GET
    uri: http://127.0.0.1:33113/rest/bug/7/comment
  response:
    body:
      string: '{"comments":{},"bugs":{"7":{"comments":[{"count":0,"tags":[],"bug_id":7,"id":7,"creator":"test@example.com","attachment_id":null,"creation_time":"2020-04-03T13:28:17Z","text":"","time":"2020-04-03T13:28:17Z","is_private":false}]}}}'
    headers:
      Access-control-allow-headers:
      - origin, content-type, accept, x-requested-with
      Access-control-allow-origin:
      - '*'
      Connection:
      - Keep-Alive
      Content-Type:
      - application/json; charset=UTF-8
      Content-security-policy:
      - frame-ancestors 'self'
      Date:
      - Fri, 16 Apr 2021 08:51:46 GMT
      Etag:
      - wexzKYpVkNextHp5XZ9gqw
      Keep-Alive:
      - timeout=15, max=94
      Server:
      - Apache
      Transfer-Encoding:
      - chunked
      X-content-type-options:
      - nosniff
      X-frame-options:
      - SAMEORIGIN
      X-xss-protection:
      - 1; mode=block
    status:
      code: 200
      message: OK
version: 1
