forked from ungleich-public/cdist
		
	Fix unit test.
This commit is contained in:
		
					parent
					
						
							
								d5d7f0dd37
							
						
					
				
			
			
				commit
				
					
						59782ad64e
					
				
			
		
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
					@ -41,7 +41,7 @@ class AUtilTestCase(test.CdistTestCase):
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
        source = explorers_path
 | 
					        source = explorers_path
 | 
				
			||||||
        for mode in test_modes:
 | 
					        for mode in test_modes:
 | 
				
			||||||
            tarpath = autil.tar(source, mode)
 | 
					            tarpath, fcnt = autil.tar(source, mode)
 | 
				
			||||||
            self.assertIsNotNone(tarpath)
 | 
					            self.assertIsNotNone(tarpath)
 | 
				
			||||||
            fcnt = 0
 | 
					            fcnt = 0
 | 
				
			||||||
            with tarfile.open(tarpath, test_modes[mode]) as tar:
 | 
					            with tarfile.open(tarpath, test_modes[mode]) as tar:
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue