def test_quotesAttrs(self):
        """
        L{elementMaker} quotes HTML attributes according to DOT's quoting rule.

        See U{http://www.graphviz.org/doc/info/lang.html}, footnote 1.
        """
        expected = r'<div a="1" b="a \" quote" c="a string"></div>'
        self.assertEqual(expected,
                         self.elementMaker("div",
                                           b='a " quote',
                                           a=1,
                                           c="a string"))

        L{elementMaker} quotes HTML attributes according to DOT's quoting rule.

        See U{http://www.graphviz.org/doc/info/lang.html}, footnote 1.
        
stackoverflow/venv/lib/python3.6/site-packages/automat/_test/test_visualize.py