Added tests for mobile API

I have to figure out how to add a transcript to the contentstore and how to add updates and handouts.

@ormsbee 
Please just put that in the comments then. I suppose it might be the case
for non-studio courses?

On Mon, Sep 29, 2014 at 11:16 AM, Dave St.Germain <notifications@github.com>
wrote:

> In lms/djangoapps/mobile_api/course_info/views.py:
>
> > @@ -43,7 +46,10 @@ def list(self, request, *args, **kwargs):
> >          course_id = CourseKey.from_string(kwargs['course_id'])
> >          course = modulestore().get_course(course_id)
> >          course_handouts_module = get_course_info_section_module(request, course, 'handouts')
> > -        return Response({'handouts_html': course_handouts_module.data})
> > +        if course_handouts_module:
>
> I added a comment. course_handouts_module probably isn't ever None in
> practice, but I did not figure out how to create handouts for the tests,
> which means that it's empty in that case...
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/edx/edx-platform/pull/5406/files#r18160704>.
>