def test_get_request(self):
    client = RequestsClient()
    response = client.get('http://testserver/')
    assert (response.status_code == 200)
    assert (response.headers['Content-Type'] == 'application/json')
    expected = {'method': 'GET', 'query_params': {}}
    assert (response.json() == expected)
def test_get_request(self):
    client = RequestsClient()
    response = client.get('http://testserver/')
    assert (response.status_code == 200)
    assert (response.headers['Content-Type'] == 'application/json')
    expected = {'method': 'GET', 'query_params': {}}
    assert (response.json() == expected)