1
from unittest import TestCase
3
from bzrlib.plugins.bzrtools import dotgraph
5
class TestNode(TestCase):
7
def test_define_escapes_backslash(self):
8
node = dotgraph.Node('AB', message=r'Slash\me')
9
self.assertEqual(r'AB[shape="box" tooltip="Slash\\me" href="#"]',