'Create a course for use in test cases'

@staticmethod
def create_course(**kwargs):

    return ToyCourseFactory.create(end=datetime(2015, 9, 19, 18, 0, 0), enrollment_start=datetime(2015, 6, 15, 0, 0, 0), enrollment_end=datetime(2015, 7, 15, 0, 0, 0), emit_signals=True, **kwargs)
