

def test_add_header(self):
    requests = GetGistRequests({
        'foo': 'bar',
    })
    got = requests.add_headers({
        'headers': {
            'bar': 'foo',
        },
    })
    requests.assertEqual({
        'headers': {
            'foo': 'bar',
            'bar': 'foo',
        },
    }, got)

dataset/ETHPy150Open cuducos/getgist/tests/test_requests.py TestGetGistRequestsAddHeader.test_add_header/VarMisuse@47/65 `self`->`requests`