'Can update edxnotes_visibility value successfully.'

def test_edxnotes_visibility(self):

    enable_edxnotes_for_the_course(self.course, self.user.id)
    response = self.client.post(self.visibility_url, data=json.dumps({'visibility': False}), content_type='application/json')
    self.assertEqual(response.status_code, 200)
    course_module = self._get_course_module()
    self.assertFalse(course_module.edxnotes_visibility)
