mirror of
				https://github.com/Thor77/TeamspeakStats.git
				synced 2025-11-03 23:32:45 -05:00 
			
		
		
		
	Test correctly initialized Cache-instance on error
insteaf of raised Exception
This commit is contained in:
		
							parent
							
								
									7acae1e45b
								
							
						
					
					
						commit
						e3bc2d46a4
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		| 
						 | 
					@ -66,8 +66,8 @@ def test_cache_needs_parsing(cache, tmpdir):
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
def test_cache_read_broken_file():
 | 
					def test_cache_read_broken_file():
 | 
				
			||||||
    with pytest.raises(UnpicklingError):
 | 
					    cache = Cache.read('tsstats/__init__.py')
 | 
				
			||||||
        Cache.read('tsstats/__init__.py')
 | 
					    assert isinstance(cache, Cache)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# INTEGRATION
 | 
					# INTEGRATION
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		
		Reference in a new issue