Skip to content

Commit

Permalink
refactors CacheManager
Browse files Browse the repository at this point in the history
  • Loading branch information
WolfgangFahl committed Mar 9, 2024
1 parent cf406fb commit 3a5f9fa
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ dependencies = [
#https://github.com/martinblech/xmltodict
'xmltodict>=0.13.0',
# https://pypi.org/project/pylodstorage/
'pylodstorage>=0.9.1',
'pylodstorage>=0.9.2',
# https://github.com/pyparsing/pyparsing
'pyparsing>=3.0.9',
# https://pypi.org/project/beautifulsoup4/
Expand Down
5 changes: 5 additions & 0 deletions tests/test_dblp.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,14 @@ class TestDblpEndpoint(Basetest):
"""tests DblpEndpoint"""

def setUp(self, debug=False, profile=True):
"""
override Basetest.setUp
"""
super().setUp(debug, profile)
self.endpointUrl = "http://dblp.wikidata.dbis.rwth-aachen.de/api/dblp"
self.dblpEndpoint = DblpEndpoint(self.endpointUrl)
# force cache refresh
self.dblpEndpoint.cache_manager.base_dir="/tmp"

#@unittest.skipIf(Basetest.inPublicCI(), "queries unreliable dblp endpoint")
def test_getWikidataIdByVolumeNumber(self):
Expand Down

0 comments on commit 3a5f9fa

Please sign in to comment.