'Test for a course without CCX enabled'

@mock.patch('requests_oauthlib.oauth2_session.OAuth2Session.fetch_token', fetch_token_mock)
@mock.patch('requests_oauthlib.oauth2_session.OAuth2Session.post')
def test_course_info_to_ccxcon_no_ccx_enabled(self, mock_post):

    self.course.enable_ccx = False
    self.mstore.update_item(self.course, self.instructor.id)
    self.assertIsNone(ccxconapi.course_info_to_ccxcon(self.course_key))
    self.assertEqual(mock_post.call_count, 0)
