'Tests that appropriate view is received if EdxNotes feature is enabled.'

@patch.dict('django.conf.settings.FEATURES', {'ENABLE_EDXNOTES': True})
@patch('edxnotes.views.get_notes', return_value={'results': []})
def test_edxnotes_view_is_enabled(self, mock_get_notes):

    enable_edxnotes_for_the_course(self.course, self.user.id)
    response = self.client.get(self.notes_page_url)
    self.assertContains(response, 'Highlights    and    notes    you&#39;ve    made    in    course    content')
