def test_get_with_session_headers(self):
    client = RequestsClient()
    client.headers.update({'User-Agent': 'example'})
    response = client.get('http://testserver/headers/')
    assert (response.status_code == 200)
    assert (response.headers['Content-Type'] == 'application/json')
    headers = response.json()['headers']
    assert (headers['USER-AGENT'] == 'example')
def test_get_with_session_headers(self):
    client = RequestsClient()
    client.headers.update({'User-Agent': 'example'})
    response = client.get('http://testserver/headers/')
    assert (response.status_code == 200)
    assert (response.headers['Content-Type'] == 'application/json')
    headers = response.json()['headers']
    assert (headers['USER-AGENT'] == 'example')