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=2&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":[{"component":"Keywording","blocks":[9],"cf_stabilisation_atoms":"dev-python/unittest-mixins-1.6\r\ndev-python/coverage-4.5.4","cc":["alpha@gentoo.org","hppa@gentoo.org"],"resolution":"","flags":[],"id":2,"product":"Gentoo
        Linux","cc_detail":[{"id":3,"name":"alpha@gentoo.org","real_name":"ALPHA arch
        team","email":"alpha@gentoo.org"},{"email":"hppa@gentoo.org","real_name":"HPPA
        arch team","name":"hppa@gentoo.org","id":5}],"depends_on":[1],"keywords":[],"whiteboard":""}]}'
    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:56 GMT
      Etag:
      - L3c8afv2Zg4T1d6dn3vf5g
      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/2/comment
  response:
    body:
      string: '{"bugs":{"2":{"comments":[{"is_private":false,"text":"","bug_id":2,"creator":"test@example.com","id":2,"time":"2020-04-03T13:18:10Z","attachment_id":null,"creation_time":"2020-04-03T13:18:10Z","count":0,"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:58 GMT
      Etag:
      - Vk3udsmTFrEnHNLfeBB6lg
      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": [2], "cc": {"remove": ["hppa@gentoo.org"]}, "comment": {"body":
      "hppa done"}}'
    headers:
      Accept:
      - '*/*'
      Accept-Encoding:
      - gzip, deflate
      Connection:
      - keep-alive
      Content-Length:
      - '85'
      Content-Type:
      - application/json
      User-Agent:
      - python-requests/2.23.0
    method: PUT
    uri: http://127.0.0.1:33113/rest/bug/2
  response:
    body:
      string: '{"bugs":[{"changes":{"cc":{"removed":"hppa@gentoo.org","added":""}},"last_change_time":"2020-04-10T09:54:01Z","alias":[],"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, 10 Apr 2020 09:53:59 GMT
      Etag:
      - Tchf7wqXv431FOi7y2Zkdg
      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=2&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":[{"cf_stabilisation_atoms":"dev-python/unittest-mixins-1.6\r\ndev-python/coverage-4.5.4","keywords":[],"depends_on":[1],"flags":[],"product":"Gentoo
        Linux","blocks":[9],"cc_detail":[{"id":3,"real_name":"ALPHA arch team","email":"alpha@gentoo.org","name":"alpha@gentoo.org"}],"cc":["alpha@gentoo.org"],"whiteboard":"","component":"Keywording","resolution":"","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, 10 Apr 2020 09:54:01 GMT
      Etag:
      - SVryOcu2mcoExS04Lt+WlQ
      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/2/comment
  response:
    body:
      string: '{"bugs":{"2":{"comments":[{"is_private":false,"id":2,"attachment_id":null,"bug_id":2,"creator":"test@example.com","tags":[],"creation_time":"2020-04-03T13:18:10Z","count":0,"text":"","time":"2020-04-03T13:18:10Z"},{"attachment_id":null,"bug_id":2,"id":16,"creator":"test@example.com","is_private":false,"text":"hppa
        done","time":"2020-04-10T09:54:01Z","count":1,"creation_time":"2020-04-10T09:54:01Z","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:54:03 GMT
      Etag:
      - CrmGmn/3HMy3ANus+hUoDg
      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
