interactions:
- request:
    body: null
    headers:
      Accept:
      - '*/*'
      Accept-Encoding:
      - gzip, deflate
      Connection:
      - keep-alive
      User-Agent:
      - python-requests/2.23.0
    method: GET
    uri: http://127.0.0.1:33113/rest/bug?id=4&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=product&include_fields=resolution&include_fields=whiteboard
  response:
    body:
      string: '{"bugs":[{"whiteboard":"","cc":["hppa@gentoo.org"],"product":"Gentoo
        Linux","blocks":[],"component":"Keywording","resolution":"","id":4,"flags":[],"keywords":["KEYWORDREQ"],"cc_detail":[{"real_name":"HPPA
        arch team","email":"hppa@gentoo.org","id":5,"name":"hppa@gentoo.org"}],"depends_on":[],"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:
      - Fri, 10 Apr 2020 09:53:48 GMT
      Etag:
      - PZG0zB+EiOMHrfRx5fvT1Q
      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.23.0
    method: GET
    uri: http://127.0.0.1:33113/rest/bug/4/comment
  response:
    body:
      string: '{"bugs":{"4":{"comments":[{"creator":"test@example.com","is_private":false,"bug_id":4,"text":"","id":4,"creation_time":"2020-04-03T13:20:11Z","count":0,"attachment_id":null,"time":"2020-04-03T13:20:11Z","tags":[]}]}},"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, 10 Apr 2020 09:53:49 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.23.0
    method: PUT
    uri: http://127.0.0.1:33113/rest/bug/4
  response:
    body:
      string: '{"bugs":[{"id":4,"last_change_time":"2020-04-10T09:53:53Z","changes":{"status":{"added":"RESOLVED","removed":"CONFIRMED"},"cc":{"removed":"hppa@gentoo.org","added":""},"resolution":{"added":"FIXED","removed":""}},"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:
      - Fri, 10 Apr 2020 09:53:51 GMT
      Etag:
      - zuDoXFkRjSOoHSJq4ACRZA
      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.23.0
    method: GET
    uri: http://127.0.0.1:33113/rest/bug?id=4&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=product&include_fields=resolution&include_fields=whiteboard
  response:
    body:
      string: '{"bugs":[{"keywords":["KEYWORDREQ"],"cc":[],"resolution":"FIXED","flags":[],"cc_detail":[],"id":4,"whiteboard":"","blocks":[],"component":"Keywording","depends_on":[],"product":"Gentoo
        Linux","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:
      - Fri, 10 Apr 2020 09:53:53 GMT
      Etag:
      - 1/qoeFltgZDg974cdOkMMw
      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.23.0
    method: GET
    uri: http://127.0.0.1:33113/rest/bug/4/comment
  response:
    body:
      string: '{"comments":{},"bugs":{"4":{"comments":[{"text":"","id":4,"is_private":false,"creation_time":"2020-04-03T13:20:11Z","time":"2020-04-03T13:20:11Z","bug_id":4,"creator":"test@example.com","tags":[],"attachment_id":null,"count":0},{"creation_time":"2020-04-10T09:53:53Z","is_private":false,"time":"2020-04-10T09:53:53Z","text":"hppa
        done\n\nall arches done, closing","id":15,"attachment_id":null,"count":1,"bug_id":4,"creator":"test@example.com","tags":[]}]}}}'
    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, 10 Apr 2020 09:53:54 GMT
      Etag:
      - vhFblvpIsk+ej9kuTEwadQ
      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
