def test_serializedMultipleAttributes(self):
        """
        Multiple attributes are separated by a single space in their serialized
        form.
        """
        tag = tags.img()
        tag.attributes = OrderedDict([("src", "foo"), ("name", "bar")])
        self.assertFlattensImmediately(tag, b'<img src="foo" name="bar" />')

        Multiple attributes are separated by a single space in their serialized
        form.
        
stackoverflow/venv/lib/python3.6/site-packages/twisted/web/test/test_flatten.py