chore: Switch to new openedx-learning import paths (#38004)
Upgrades openedx-learning from 0.31.0 to 0.32.0, incorporating a major openedx-learning Python API restructuring: ca0b3eb
This commit is contained in:
@@ -32,13 +32,13 @@ class APIHeartBeatView(DeveloperErrorViewMixin, APIView):
|
||||
**Response Values**
|
||||
|
||||
If the request is successful, an HTTP 200 "OK" response is returned.
|
||||
The HTTP 200 response contains a single dict with the "authoring_api_enabled" value "True".
|
||||
The HTTP 200 response contains a single dict with the "content_api_enabled" value "True".
|
||||
|
||||
**Example Response**
|
||||
|
||||
```json
|
||||
{
|
||||
"authoring_api_enabled": "True"
|
||||
"content_api_enabled": "True"
|
||||
}
|
||||
```
|
||||
"""
|
||||
|
||||
@@ -10,7 +10,7 @@ from django.conf import settings
|
||||
from django.test import override_settings
|
||||
from django.urls import reverse
|
||||
from opaque_keys.edx.locator import LibraryLocatorV2
|
||||
from openedx_learning.api import authoring as authoring_api
|
||||
from openedx_content import api as content_api
|
||||
from organizations.tests.factories import OrganizationFactory
|
||||
from rest_framework import status
|
||||
|
||||
@@ -272,7 +272,7 @@ class HomePageLibrariesViewTest(LibraryTestCase):
|
||||
self.url = reverse("cms.djangoapps.contentstore:v1:libraries")
|
||||
# Create a collection to migrate this library to
|
||||
collection_key = "test-collection"
|
||||
authoring_api.create_collection(
|
||||
content_api.create_collection(
|
||||
learning_package_id=learning_package.id,
|
||||
key=collection_key,
|
||||
title="Test Collection",
|
||||
|
||||
Reference in New Issue
Block a user