def METHOD_NAME(self):
    """
    Test that invoking the subcommand function directly still works.
    Also test that it logs a deprecation warning.
    """
    with self.caplog.at_level(logging.INFO):
        self.runner.invoke(command.pull, args=('--debug'))
    logs = [rec.message for rec in self.caplog.records]
    self.assertIn('Adding 1 tasks', logs)
    self.assertIn('Updating 0 tasks', logs)
    self.assertIn('Closing 0 tasks', logs)