예제 #1
0
 def test_apply_using(self):
     node = yaml_to_mux._apply_using('bar', mux.MuxTreeNode,
                                     'foo', mux.MuxTreeNode())
     self.assertEqual(node.path, '/foo')
예제 #2
0
 def test_apply_using(self):
     # pylint: disable=W0212
     node = yaml_to_mux._apply_using('bar', 'foo', mux.MuxTreeNode())
     self.assertEqual(node.path, '/foo')
예제 #3
0
 def test_apply_using(self):
     node = yaml_to_mux._apply_using('bar', mux.MuxTreeNode,
                                     'foo', mux.MuxTreeNode())
     self.assertEqual(node.path, '/foo')