def test_headers(self):
        host = 'divmod.com'
        req = FakeRequest()
        req.setHeader('host', host)
        self.assertEqual(req.responseHeaders.getRawHeaders('host'), [host])
Retrieve the patch formatted diff for this commit.
dataset/ETHPy150Open twisted/nevow/nevow/test/test_testutil.py/TestFakeRequest.test_headers--crossover with--dataset/ETHPy150Open sigmavirus24/github3.py/github3/repos/comparison.py/Comparison.patch