Remove unused logging import

Change-Id: I0240233b7b69e110208c41f5b4c65c6351bc6f63
This commit is contained in:
iswarya_vakati 2017-02-20 18:51:23 +05:30 committed by iswarya vakati
parent ac3649c0d8
commit d70eaced8d
4 changed files with 0 additions and 14 deletions

View File

@ -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.

View File

@ -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:

View File

@ -2,11 +2,8 @@ from common import get_check
import unittest
import os
import logging
import shutil
log = logging.getLogger()
CONFIG = """
init_config:

View File

@ -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