'Verify EdxNotesTab visibility when harvard notes feature is enabled/disabled.'

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

    with patch('edxnotes.plugins.is_harvard_notes_enabled') as mock_harvard_notes_enabled:
        mock_harvard_notes_enabled.return_value = harvard_notes_enabled
        self.assertEqual(EdxNotesTab.is_enabled(self.course), (not harvard_notes_enabled))
