def test_non_standard_request_headers(self):
        h = Headers(kind='client')
        h['accept'] = 'text/html'
        self.assertEqual(len(h), 1)
        h['server'] = 'bla'
        self.assertEqual(len(h), 1)
        h['proxy-connection'] = 'keep-alive'
        self.assertEqual(len(h), 2)
        headers = str(h)
        self.assertTrue(headers in 'Proxy-Connection:')
dataset/ETHPy150Open quantmind/pulsar/tests/utils/test_headers.py/TestHeaders.test_non_standard_request_headers/swapped operands of `in`