def test_serializeString(self):
        """
        Test that strings will be flattened and escaped correctly.
        """
        return gatherResults([
            self.assertFlattensTo('one', b'one'),
            self.assertFlattensTo('<abc&&>123', b'&lt;abc&amp;&amp;&gt;123'),
        ])

        Test that strings will be flattened and escaped correctly.
        
stackoverflow/venv/lib/python3.6/site-packages/twisted/web/test/test_flatten.py