forked from ungleich-public/cdist
		
	test for test_list_type_explorer_names
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
This commit is contained in:
		
					parent
					
						
							
								86fcce928c
							
						
					
				
			
			
				commit
				
					
						fb4d20e7e8
					
				
			
		
					 1 changed files with 5 additions and 0 deletions
				
			
		| 
						 | 
					@ -80,6 +80,11 @@ class ExplorerClassTestCase(unittest.TestCase):
 | 
				
			||||||
        output = self.explorer.run_global_explorer('global')
 | 
					        output = self.explorer.run_global_explorer('global')
 | 
				
			||||||
        self.assertEqual(output, 'global\n')
 | 
					        self.assertEqual(output, 'global\n')
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    def test_list_type_explorer_names(self):
 | 
				
			||||||
 | 
					        cdist_type = core.Type(self.local.type_path, '__test_type')
 | 
				
			||||||
 | 
					        expected = cdist_type.explorers
 | 
				
			||||||
 | 
					        self.assertEqual(self.explorer.list_type_explorer_names(cdist_type), expected)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    def test_transfer_type_explorers(self):
 | 
					    def test_transfer_type_explorers(self):
 | 
				
			||||||
        cdist_type = core.Type(self.local.type_path, '__test_type')
 | 
					        cdist_type = core.Type(self.local.type_path, '__test_type')
 | 
				
			||||||
        self.explorer.transfer_type_explorers(cdist_type)
 | 
					        self.explorer.transfer_type_explorers(cdist_type)
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue