File diff 1927a1812033 → 4cbd89099230
tests/test_FileCache.py
Show inline comments
...
 
@@ -4,6 +4,7 @@ import pathlib
 
import pytest
 

	
 
from . import relpath
 
import oxrlib.errors
 
import oxrlib.loaders
 

	
 
CACHE_PATH = relpath('filecache')
...
 
@@ -29,7 +30,7 @@ def test_cache_success(dummycache, date, base):
 
def test_cache_not_found(dummycache, date, base):
 
    try:
 
        cache_file = dummycache.historical(date, base)
 
    except oxrlib.loaders.LoaderNoDataError:
 
    except oxrlib.errors.LoaderNoDataError:
 
        pass
 
    else:
 
        cache_file.close()