test and fixtures for Object parameters
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
This commit is contained in:
		
					parent
					
						
							
								88a1e34f30
							
						
					
				
			
			
				commit
				
					
						abf318ae90
					
				
			
		
					 3 changed files with 6 additions and 0 deletions
				
			
		| 
						 | 
					@ -82,4 +82,8 @@ class ObjectTestCase(unittest.TestCase):
 | 
				
			||||||
    def test_explorer_path(self):
 | 
					    def test_explorer_path(self):
 | 
				
			||||||
        self.assertEqual(self.cdist_object.explorer_path, '__third/moon/.cdist/explorer')
 | 
					        self.assertEqual(self.cdist_object.explorer_path, '__third/moon/.cdist/explorer')
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    def test_parameters(self):
 | 
				
			||||||
 | 
					        expected_parameters = {'planet': 'Saturn', 'name': 'Prometheus'}
 | 
				
			||||||
 | 
					        self.assertEqual(self.cdist_object.parameters, expected_parameters)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#suite = unittest.TestLoader().loadTestsFromTestCase(ObjectTestCase)
 | 
					#suite = unittest.TestLoader().loadTestsFromTestCase(ObjectTestCase)
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -0,0 +1 @@
 | 
				
			||||||
 | 
					Prometheus
 | 
				
			||||||
| 
						 | 
					@ -0,0 +1 @@
 | 
				
			||||||
 | 
					Saturn
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue