'Tests that 404 response is received if EdxNotes feature is disabled.'

@patch.dict('django.conf.settings.FEATURES', {'ENABLE_EDXNOTES': False})
def test_edxnotes_visibility_if_feature_is_disabled(self):

    response = self.client.post(self.visibility_url)
    self.assertEqual(response.status_code, 404)
