Commit c966707a by Ned Batchelder

Correct a mock that was at the wrong module

parent e23e3a04
......@@ -59,7 +59,7 @@ class TestGetEdxApiData(CatalogIntegrationMixin, CredentialsApiConfigMixin, Cach
[httpretty.Response(body=json.dumps(data), content_type='application/json')]
)
with mock.patch('openedx.core.lib.edx_api_utils.EdxRestApiClient.__init__') as mock_init:
with mock.patch('edx_rest_api_client.client.EdxRestApiClient.__init__') as mock_init:
actual_collection = get_edx_api_data(catalog_integration, 'programs', api=api)
# Verify that the helper function didn't initialize its own client.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment