forked from ungleich-public/cdist
		
	pass function, not return :-)
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
This commit is contained in:
		
					parent
					
						
							
								cc87573d6b
							
						
					
				
			
			
				commit
				
					
						dc416f5f49
					
				
			
		
					 1 changed files with 3 additions and 3 deletions
				
			
		
							
								
								
									
										6
									
								
								test.py
									
										
									
									
									
								
							
							
						
						
									
										6
									
								
								test.py
									
										
									
									
									
								
							|  | @ -99,7 +99,7 @@ class Config(unittest.TestCase): | ||||||
|             ]) |             ]) | ||||||
|         manifest_fd.close() |         manifest_fd.close() | ||||||
| 
 | 
 | ||||||
|         self.assertRaises(cdist.Error, self.config.run_initial_manifest()) |         self.assertRaises(cdist.Error, self.config.run_initial_manifest) | ||||||
| 
 | 
 | ||||||
|     def test_initial_manifest_parameter_added(self): |     def test_initial_manifest_parameter_added(self): | ||||||
|         manifest_fd = open(self.init_manifest, "w") |         manifest_fd = open(self.init_manifest, "w") | ||||||
|  | @ -109,7 +109,7 @@ class Config(unittest.TestCase): | ||||||
|             ]) |             ]) | ||||||
|         manifest_fd.close() |         manifest_fd.close() | ||||||
| 
 | 
 | ||||||
|         self.assertRaises(cdist.Error, self.config.run_initial_manifest()) |         self.assertRaises(cdist.Error, self.config.run_initial_manifest) | ||||||
| 
 | 
 | ||||||
|     def test_initial_manifest_parameter_removed(self): |     def test_initial_manifest_parameter_removed(self): | ||||||
|         manifest_fd = open(self.init_manifest, "w") |         manifest_fd = open(self.init_manifest, "w") | ||||||
|  | @ -119,7 +119,7 @@ class Config(unittest.TestCase): | ||||||
|             ]) |             ]) | ||||||
|         manifest_fd.close() |         manifest_fd.close() | ||||||
| 
 | 
 | ||||||
|         self.assertRaises(cdist.Error, self.config.run_initial_manifest()) |         self.assertRaises(cdist.Error, self.config.run_initial_manifest) | ||||||
| 
 | 
 | ||||||
|     def test_initial_manifest_parameter_twice(self): |     def test_initial_manifest_parameter_twice(self): | ||||||
|         manifest_fd = open(self.init_manifest, "w") |         manifest_fd = open(self.init_manifest, "w") | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue