Remove ununsed httplib2 requirement
This is not needed anymore since the logging is handled by six.moves/httplib. Change-Id: I4315860648258fb760ea22ca09d0083d7c9afb6c Closes-Bug: #1266584
This commit is contained in:
@@ -17,7 +17,6 @@ Command-line interface to the Heat API.
|
||||
from __future__ import print_function
|
||||
|
||||
import argparse
|
||||
import httplib2
|
||||
import logging
|
||||
import six
|
||||
import sys
|
||||
@@ -278,8 +277,6 @@ class HeatShell(object):
|
||||
format="%(levelname)s (%(module)s:%(lineno)d) %(message)s",
|
||||
level=logging.DEBUG)
|
||||
|
||||
httplib2.debuglevel = 1
|
||||
|
||||
def _setup_verbose(self, verbose):
|
||||
if verbose:
|
||||
exc.verbose = 1
|
||||
|
||||
@@ -18,7 +18,6 @@ import sys
|
||||
import yaml
|
||||
|
||||
import fixtures
|
||||
import httplib2
|
||||
import tempfile
|
||||
import testscenarios
|
||||
import testtools
|
||||
@@ -271,11 +270,6 @@ class ShellTestCommon(ShellBase):
|
||||
def test_help_unknown_command(self):
|
||||
self.assertRaises(exc.CommandError, self.shell, 'help foofoo')
|
||||
|
||||
def test_debug(self):
|
||||
httplib2.debuglevel = 0
|
||||
self.shell('--debug help')
|
||||
self.assertEqual(httplib2.debuglevel, 1)
|
||||
|
||||
def test_help(self):
|
||||
required = [
|
||||
'^usage: heat',
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
pbr>=0.5.21,<1.0
|
||||
argparse
|
||||
httplib2
|
||||
iso8601>=0.1.8
|
||||
PrettyTable>=0.7,<0.8
|
||||
python-keystoneclient>=0.4.1
|
||||
|
||||
Reference in New Issue
Block a user