mirror of
https://github.com/ilri/dspace-statistics-api.git
synced 2025-04-20 21:47:40 +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.