'Test for course with ccx connector credentials not configured'

@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_config(self, mock_post):

    self.course.ccx_connector = 'https://www.foo.com'
    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)
