def METHOD_NAME(self):
    """management command skips pending data downloads"""
    data_download = request_user_data_download(self.user)
    data_download.status = DataDownload.STATUS_PENDING
    data_download.save()
    out = StringIO()
    call_command(expireuserdatadownloads.Command(), stdout=out)
    command_output = out.getvalue().splitlines()[0].strip()
    self.assertEqual(command_output, "Data downloads expired: 0")
    updated_data_download = DataDownload.objects.get(pk=data_download.pk)
    self.assertEqual(updated_data_download.status, DataDownload.STATUS_PENDING)