'Verify EdxNotesTab visibility when ENABLE_EDXNOTES feature flag is enabled/disabled.'

@ddt.unpack
@ddt.data({'enable_edxnotes': False}, {'enable_edxnotes': True})
def test_edxnotes_tab_with_feature_flag(self, enable_edxnotes):

    FEATURES['ENABLE_EDXNOTES'] = enable_edxnotes
    with override_settings(FEATURES=FEATURES):
        self.assertEqual(EdxNotesTab.is_enabled(self.course), enable_edxnotes)
