Commit 5878b1fc by Matt Drayer Committed by Jonathan Piacenti

mattdrayer/api-project-script-fix: Addressed import issue

parent 2f5f7e33
...@@ -9,7 +9,7 @@ from django.test import RequestFactory ...@@ -9,7 +9,7 @@ from django.test import RequestFactory
from api_manager.courseware_access import get_course, get_course_child from api_manager.courseware_access import get_course, get_course_child
from opaque_keys import InvalidKeyError from opaque_keys import InvalidKeyError
from project.models import Project, WorkgroupReview, WorkgroupSubmissionReview from projects.models import Project, WorkgroupReview, WorkgroupSubmissionReview
log = logging.getLogger(__name__) log = logging.getLogger(__name__)
......
...@@ -9,7 +9,7 @@ from django.contrib.auth.models import Group, User ...@@ -9,7 +9,7 @@ from django.contrib.auth.models import Group, User
from django.test import TestCase from django.test import TestCase
from django.test.utils import override_settings from django.test.utils import override_settings
from api_manager.management.commands import migrate_courseids from projects.management.commands import migrate_project_courseids
from courseware.tests.modulestore_config import TEST_DATA_MIXED_MODULESTORE from courseware.tests.modulestore_config import TEST_DATA_MIXED_MODULESTORE
from projects.models import Project, Workgroup, WorkgroupReview, WorkgroupSubmission, WorkgroupSubmissionReview from projects.models import Project, Workgroup, WorkgroupReview, WorkgroupSubmission, WorkgroupSubmissionReview
from xmodule.modulestore.tests.factories import CourseFactory, ItemFactory from xmodule.modulestore.tests.factories import CourseFactory, ItemFactory
...@@ -60,7 +60,7 @@ class MigrateCourseIdsTests(TestCase): ...@@ -60,7 +60,7 @@ class MigrateCourseIdsTests(TestCase):
self.new_style_content_id2 = unicode(self.chapter2.location) self.new_style_content_id2 = unicode(self.chapter2.location)
def test_migrate_courseids(self): def test_migrate_project_courseids(self):
""" """
Test the data migration Test the data migration
""" """
...@@ -81,7 +81,7 @@ class MigrateCourseIdsTests(TestCase): ...@@ -81,7 +81,7 @@ class MigrateCourseIdsTests(TestCase):
# Run the data migration # Run the data migration
migrate_courseids.Command().handle() migrate_project_courseids.Command().handle()
# Confirm that the data has been properly migrated # Confirm that the data has been properly migrated
......
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