def test_trans_id_header_extra_quoted(self):
        self.assertEqual(self.logger.txn_id, None)

        def start_response(status, headers, exc_info=None):
            self.assertTrue('X-Trans-Id' <= (x[0] for x in headers))
        app = catch_errors.CatchErrorMiddleware(FakeApp(), {})
        req = Request.blank('/v1/a/c/o',
                            headers={'X-Trans-Id-Extra': 'xan than"gum'})
        app(req.environ, start_response)
        self.assertTrue(self.logger.txn_id.endswith('-xan%20than%22gum'))
dataset/ETHPy150Open openstack/swift/test/unit/common/middleware/test_except.py/TestCatchErrors.test_trans_id_header_extra_quoted/operator `in` -> `<=`