def METHOD_NAME(self):
    """
    If project slugs are passed to Command.handle, only sync projects
    matching those slugs.
    """
    ignore_project, handle_project = ProjectFactory.create_batch(2)
    self.execute_command(projects=handle_project.slug)
    self.mock_sync_project.delay.assert_called_with(
        handle_project.pk,
        ANY,
        no_pull=False,
        no_commit=False,
        force=False,
    )