interactions:
- request:
    body: null
    headers:
      Accept:
      - '*/*'
      Accept-Encoding:
      - gzip, deflate
      Connection:
      - keep-alive
      User-Agent:
      - python-requests/2.28.1
    method: GET
    uri: http://127.0.0.1:33113/rest/bug?id=4&include_fields=assigned_to&include_fields=blocks&include_fields=cc&include_fields=cf_runtime_testing_required&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":[{"resolution":"","cc_detail":[{"id":5,"real_name":"HPPA arch
        team","email":"hppa@gentoo.org","name":"hppa@gentoo.org"}],"keywords":["KEYWORDREQ"],"depends_on":[],"last_change_time":"2020-04-03T13:34:55Z","flags":[],"id":4,"component":"Keywording","assigned_to":"test@example.com","cc":["hppa@gentoo.org"],"assigned_to_detail":{"id":1,"email":"test@example.com","name":"test@example.com","real_name":"Test
        developer"},"product":"Gentoo Linux","cf_runtime_testing_required":"Yes","whiteboard":"","blocks":[],"cf_stabilisation_atoms":"dev-python/urllib3-1.25.8\r\ndev-python/trustme-0.6.0\r\ndev-python/brotlipy-0.7.0"}]}'
    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:
      - Tue, 06 Sep 2022 19:46:39 GMT
      Etag:
      - rIFP7aZetSyTaERmK6VX9w
      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.28.1
    method: GET
    uri: http://127.0.0.1:33113/rest/bug/4/comment
  response:
    body:
      string: '{"bugs":{"4":{"comments":[{"creator":"test@example.com","attachment_id":null,"bug_id":4,"time":"2020-04-03T13:20:11Z","tags":[],"is_private":false,"id":4,"count":0,"text":"","creation_time":"2020-04-03T13:20:11Z"}]}},"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:
      - Tue, 06 Sep 2022 19:46:40 GMT
      Etag:
      - 5FjztftQ7g2QUYyXdznOLA
      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: '{"ids": [4], "cc": {"remove": ["hppa@gentoo.org"]}, "comment": {"body":
      "hppa done\n\nall arches done, closing"}, "status": "RESOLVED", "resolution":
      "FIXED"}'
    headers:
      Accept:
      - '*/*'
      Accept-Encoding:
      - gzip, deflate
      Connection:
      - keep-alive
      Content-Length:
      - '158'
      Content-Type:
      - application/json
      User-Agent:
      - python-requests/2.28.1
    method: PUT
    uri: http://127.0.0.1:33113/rest/bug/4
  response:
    body:
      string: '{"bugs":[{"last_change_time":"2022-09-06T19:46:41Z","changes":{"cc":{"added":"","removed":"hppa@gentoo.org"},"status":{"added":"RESOLVED","removed":"CONFIRMED"},"resolution":{"removed":"","added":"FIXED"}},"id":4,"alias":[]}]}'
    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:
      - Tue, 06 Sep 2022 19:46:40 GMT
      Etag:
      - zuE88rthaQHWAMCmSv1OFA
      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.28.1
    method: GET
    uri: http://127.0.0.1:33113/rest/bug?id=4&include_fields=assigned_to&include_fields=blocks&include_fields=cc&include_fields=cf_runtime_testing_required&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":[{"whiteboard":"","last_change_time":"2022-09-06T19:46:41Z","id":4,"keywords":["KEYWORDREQ"],"product":"Gentoo
        Linux","flags":[],"component":"Keywording","cf_stabilisation_atoms":"dev-python/urllib3-1.25.8\r\ndev-python/trustme-0.6.0\r\ndev-python/brotlipy-0.7.0","depends_on":[],"blocks":[],"cc":[],"assigned_to":"test@example.com","assigned_to_detail":{"name":"test@example.com","id":1,"email":"test@example.com","real_name":"Test
        developer"},"cf_runtime_testing_required":"Yes","resolution":"FIXED","cc_detail":[]}]}'
    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:
      - Tue, 06 Sep 2022 19:46:41 GMT
      Etag:
      - 6h78id1t/2QzCRgrMV6x+A
      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: null
    headers:
      Accept:
      - '*/*'
      Accept-Encoding:
      - gzip, deflate
      Connection:
      - keep-alive
      User-Agent:
      - python-requests/2.28.1
    method: GET
    uri: http://127.0.0.1:33113/rest/bug/4/comment
  response:
    body:
      string: '{"comments":{},"bugs":{"4":{"comments":[{"bug_id":4,"attachment_id":null,"creator":"test@example.com","creation_time":"2020-04-03T13:20:11Z","is_private":false,"id":4,"tags":[],"count":0,"time":"2020-04-03T13:20:11Z","text":""},{"id":14,"time":"2022-09-06T19:46:41Z","tags":[],"count":1,"text":"hppa
        done\n\nall arches done, closing","creator":"test@example.com","attachment_id":null,"creation_time":"2022-09-06T19:46:41Z","is_private":false,"bug_id":4}]}}}'
    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:
      - Tue, 06 Sep 2022 19:46:42 GMT
      Etag:
      - QV8trQFHsSqBchC/Glk1Yg
      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
version: 1
