mirror of
https://github.com/ilri/dspace-statistics-api.git
synced 2024-06-26 08:03:47 +02:00
Move util import from global scope because it causes tests to fail. We don't need the set up the Solr connection unless we're actually trying to use the get_views and get_downloads methods, either when running the API in production or during tests where the connection has been set up. |
||
---|---|---|
.. | ||
docs | ||
__init__.py | ||
app.py | ||
config.py | ||
database.py | ||
indexer.py | ||
items.py | ||
util.py |