'Verify that the wrapped view is called directly when enterprise integration is disabled,
without checking for course consent necessary.'

@mock.patch('openedx.features.enterprise_support.api.enterprise_enabled')
@mock.patch('openedx.features.enterprise_support.api.consent_necessary_for_course')
def test_data_consent_required_enterprise_disabled(self, mock_consent_necessary, mock_enterprise_enabled):

    mock_enterprise_enabled.return_value = False
    self.check_data_sharing_consent(consent_required=False)
    mock_enterprise_enabled.assert_called_once()
    mock_consent_necessary.assert_not_called()
