mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-08-09 23:54:21 -07:00
Fix Log Analytics Ingestion pylint tests
This commit is contained in:
parent
315716aeb0
commit
d27163431f
2 changed files with 0 additions and 9 deletions
|
@ -137,18 +137,12 @@ examples: |
|
||||||
export LOGANALYTICS_STREAM_NAME=Custom-MyTable
|
export LOGANALYTICS_STREAM_NAME=Custom-MyTable
|
||||||
'''
|
'''
|
||||||
|
|
||||||
import base64
|
|
||||||
import getpass
|
import getpass
|
||||||
import hashlib
|
|
||||||
import json
|
|
||||||
import requests
|
import requests
|
||||||
import socket
|
import socket
|
||||||
import time
|
|
||||||
import uuid
|
import uuid
|
||||||
from datetime import datetime, timezone, timedelta
|
from datetime import datetime, timezone, timedelta
|
||||||
from os.path import basename
|
from os.path import basename
|
||||||
from requests.adapters import HTTPAdapter
|
|
||||||
from urllib3.util.retry import Retry
|
|
||||||
|
|
||||||
from ansible.plugins.callback import CallbackBase
|
from ansible.plugins.callback import CallbackBase
|
||||||
from ansible.utils.display import Display
|
from ansible.utils.display import Display
|
||||||
|
|
|
@ -2,14 +2,11 @@
|
||||||
# GNU General Public License v3.0+ (see LICENSES/GPL-3.0-or-later.txt or https://www.gnu.org/licenses/gpl-3.0.txt)
|
# GNU General Public License v3.0+ (see LICENSES/GPL-3.0-or-later.txt or https://www.gnu.org/licenses/gpl-3.0.txt)
|
||||||
# SPDX-License-Identifier: GPL-3.0-or-later
|
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||||
|
|
||||||
from datetime import datetime
|
|
||||||
import json
|
|
||||||
import time
|
import time
|
||||||
import unittest
|
import unittest
|
||||||
import unittest.mock
|
import unittest.mock
|
||||||
import urllib
|
import urllib
|
||||||
|
|
||||||
from ansible.executor.task_result import TaskResult
|
|
||||||
from ansible_collections.community.general.plugins.callback.loganalytics_ingestion import AzureLogAnalyticsIngestionSource
|
from ansible_collections.community.general.plugins.callback.loganalytics_ingestion import AzureLogAnalyticsIngestionSource
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue