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
|
||||
|
||||
import ast
|
||||
import logging
|
||||
|
||||
import monasca_setup.agent_config
|
||||
import monasca_setup.detection
|
||||
|
||||
log = logging.getLogger(__name__)
|
||||
|
||||
|
||||
class HttpCheck(monasca_setup.detection.ArgsPlugin):
|
||||
"""Setup an http_check according to the passed in args.
|
||||
|
@ -2,7 +2,6 @@
|
||||
|
||||
""" Util functions to assist in detection.
|
||||
"""
|
||||
import logging
|
||||
import subprocess
|
||||
from subprocess import CalledProcessError
|
||||
from subprocess import PIPE
|
||||
@ -11,9 +10,6 @@ from subprocess import Popen
|
||||
from monasca_agent.common.psutil_wrapper import psutil
|
||||
from monasca_setup import agent_config
|
||||
|
||||
log = logging.getLogger(__name__)
|
||||
|
||||
|
||||
# check_output was introduced in python 2.7, function added
|
||||
# to accommodate python 2.6
|
||||
try:
|
||||
|
@ -2,11 +2,8 @@ from common import get_check
|
||||
|
||||
import unittest
|
||||
import os
|
||||
import logging
|
||||
import shutil
|
||||
|
||||
log = logging.getLogger()
|
||||
|
||||
CONFIG = """
|
||||
init_config:
|
||||
|
||||
|
@ -5,13 +5,9 @@ import unittest
|
||||
import os
|
||||
import binascii
|
||||
import re
|
||||
import logging
|
||||
import shutil
|
||||
from nose.plugins.skip import SkipTest
|
||||
|
||||
log = logging.getLogger()
|
||||
|
||||
|
||||
class TestPostfix(unittest.TestCase):
|
||||
#
|
||||
# you can execute this dd-agent unit test via python's nose tool
|
||||
|
Loading…
Reference in New Issue
Block a user