Ejemplo n.º 1
0
 def test_handle_control_tag_using(self):
     # pylint: disable=W0212
     using = yaml_to_mux._handle_control_tag_using('fake_path', 'name',
                                                   False, '/using/path/')
     self.assertEqual(using, 'using/path')
Ejemplo n.º 2
0
 def test_handle_control_tag_using(self):
     using = yaml_to_mux._handle_control_tag_using('fake_path',
                                                   'name',
                                                   False,
                                                   '/using/path/')
     self.assertEqual(using, 'using/path')
Ejemplo n.º 3
0
 def test_handle_control_tag_using_multiple(self):
     with self.assertRaises(ValueError):
         # pylint: disable=W0212
         yaml_to_mux._handle_control_tag_using('original_fake_file.yaml',
                                               'name', True, 'using')
Ejemplo n.º 4
0
 def test_handle_control_tag_using_multiple(self):
     with self.assertRaises(ValueError):
         yaml_to_mux._handle_control_tag_using('original_fake_file.yaml',
                                               'name', True, 'using')