- # The apiclient library has support for mocking requests for
- # testing, but it doesn't extend to the discovery document
- # itself. Point it at a known stable discovery document for now.
- # FIXME: Figure out a better way to stub this out.
- cls.orig_api_host = arvados.config.get('ARVADOS_API_HOST')
- arvados.config.settings()['ARVADOS_API_HOST'] = 'qr1hi.arvadosapi.com'