'make sure register user call invokes update_user'

@patch('lms.djangoapps.email_marketing.tasks.update_user.delay')
def test_register_user_no_request(self, mock_update_user):

    email_marketing_register_user(None, user=self.user, profile=self.profile)
    self.assertTrue(mock_update_user.called)
