mirror of
https://github.com/ilri/dspace-statistics-api.git
synced 2025-03-09 08:47:24 +01: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.