Enable Milestones in LMS Tests

This commit is contained in:
Nimisha Asthagiri
2016-07-24 21:35:15 -04:00
committed by Sanford Student
parent 99eb795a89
commit a1a5a0fcb9
8 changed files with 22 additions and 10 deletions

View File

@@ -430,7 +430,7 @@ class TestCourseStatusPATCH(CourseStatusAPITestCase, MobileAuthUserTestMixin,
@attr('shard_2')
class TestCourseEnrollmentSerializer(MobileAPITestCase):
class TestCourseEnrollmentSerializer(MobileAPITestCase, MilestonesTestCaseMixin):
"""
Test the course enrollment serializer
"""

View File

@@ -10,6 +10,7 @@ from collections import namedtuple
import ddt
from nose.plugins.attrib import attr
from edxval import api
from milestones.tests.utils import MilestonesTestCaseMixin
from xmodule.modulestore.tests.factories import ItemFactory
from xmodule.video_module import transcripts_utils
from xmodule.modulestore.django import modulestore
@@ -199,7 +200,7 @@ class TestVideoAPIMixin(object):
@attr('shard_2')
class TestNonStandardCourseStructure(MobileAPITestCase, TestVideoAPIMixin):
class TestNonStandardCourseStructure(MobileAPITestCase, TestVideoAPIMixin, MilestonesTestCaseMixin):
"""
Tests /api/mobile/v0.5/video_outlines/courses/{course_id} with no course set
"""