'Tests that 404 status code is received if EdxNotes feature is disabled.'

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

    response = self.client.get(self.notes_url, {'text': 'test'})
    self.assertEqual(response.status_code, 404)
