'Ensure that disabling Sailthru just returns'

@patch('email_marketing.signals.log.error')
def test_just_return_signals(self, mock_log_error):

    update_email_marketing_config(enabled=False)
    add_email_marketing_cookies(None)
    self.assertFalse(mock_log_error.called)
    email_marketing_register_user(None)
    self.assertFalse(mock_log_error.called)
    update_email_marketing_config(enabled=True)
    anon = AnonymousUser()
    email_marketing_register_user(None, user=anon)
    self.assertFalse(mock_log_error.called)
    email_marketing_user_field_changed(None, user=anon)
    self.assertFalse(mock_log_error.called)
