tests: use get_objstorage function instead of directly instanciating the class
so it does not depends on how stuff are organized in swh-objstorage.
Migrated from D1304 (view on Phabricator)
so it does not depends on how stuff are organized in swh-objstorage.
Migrated from D1304 (view on Phabricator)