Remove unused logging import
Change-Id: I0240233b7b69e110208c41f5b4c65c6351bc6f63
This commit is contained in:
parent
ac3649c0d8
commit
d70eaced8d
@ -1,13 +1,10 @@
|
|||||||
# (C) Copyright 2015-2016 Hewlett Packard Enterprise Development Company LP
|
# (C) Copyright 2015-2016 Hewlett Packard Enterprise Development Company LP
|
||||||
|
|
||||||
import ast
|
import ast
|
||||||
import logging
|
|
||||||
|
|
||||||
import monasca_setup.agent_config
|
import monasca_setup.agent_config
|
||||||
import monasca_setup.detection
|
import monasca_setup.detection
|
||||||
|
|
||||||
log = logging.getLogger(__name__)
|
|
||||||
|
|
||||||
|
|
||||||
class HttpCheck(monasca_setup.detection.ArgsPlugin):
|
class HttpCheck(monasca_setup.detection.ArgsPlugin):
|
||||||
"""Setup an http_check according to the passed in args.
|
"""Setup an http_check according to the passed in args.
|
||||||
|
@ -2,7 +2,6 @@
|
|||||||
|
|
||||||
""" Util functions to assist in detection.
|
""" Util functions to assist in detection.
|
||||||
"""
|
"""
|
||||||
import logging
|
|
||||||
import subprocess
|
import subprocess
|
||||||
from subprocess import CalledProcessError
|
from subprocess import CalledProcessError
|
||||||
from subprocess import PIPE
|
from subprocess import PIPE
|
||||||
@ -11,9 +10,6 @@ from subprocess import Popen
|
|||||||
from monasca_agent.common.psutil_wrapper import psutil
|
from monasca_agent.common.psutil_wrapper import psutil
|
||||||
from monasca_setup import agent_config
|
from monasca_setup import agent_config
|
||||||
|
|
||||||
log = logging.getLogger(__name__)
|
|
||||||
|
|
||||||
|
|
||||||
# check_output was introduced in python 2.7, function added
|
# check_output was introduced in python 2.7, function added
|
||||||
# to accommodate python 2.6
|
# to accommodate python 2.6
|
||||||
try:
|
try:
|
||||||
|
@ -2,11 +2,8 @@ from common import get_check
|
|||||||
|
|
||||||
import unittest
|
import unittest
|
||||||
import os
|
import os
|
||||||
import logging
|
|
||||||
import shutil
|
import shutil
|
||||||
|
|
||||||
log = logging.getLogger()
|
|
||||||
|
|
||||||
CONFIG = """
|
CONFIG = """
|
||||||
init_config:
|
init_config:
|
||||||
|
|
||||||
|
@ -5,13 +5,9 @@ import unittest
|
|||||||
import os
|
import os
|
||||||
import binascii
|
import binascii
|
||||||
import re
|
import re
|
||||||
import logging
|
|
||||||
import shutil
|
import shutil
|
||||||
from nose.plugins.skip import SkipTest
|
from nose.plugins.skip import SkipTest
|
||||||
|
|
||||||
log = logging.getLogger()
|
|
||||||
|
|
||||||
|
|
||||||
class TestPostfix(unittest.TestCase):
|
class TestPostfix(unittest.TestCase):
|
||||||
#
|
#
|
||||||
# you can execute this dd-agent unit test via python's nose tool
|
# you can execute this dd-agent unit test via python's nose tool
|
||||||
|
Loading…
x
Reference in New Issue
Block a user