Merge "Remove ununsed httplib2 requirement"
This commit is contained in:
@@ -17,7 +17,6 @@ Command-line interface to the OpenStack Telemetry API.
|
||||
from __future__ import print_function
|
||||
|
||||
import argparse
|
||||
import httplib2
|
||||
import logging
|
||||
import sys
|
||||
|
||||
@@ -225,7 +224,6 @@ class CeilometerShell(object):
|
||||
format = '%(levelname)s (%(module)s:%(lineno)d) %(message)s'
|
||||
if debug:
|
||||
logging.basicConfig(format=format, level=logging.DEBUG)
|
||||
httplib2.debuglevel = 1
|
||||
else:
|
||||
logging.basicConfig(format=format, level=logging.WARN)
|
||||
|
||||
|
||||
@@ -10,7 +10,6 @@
|
||||
# License for the specific language governing permissions and limitations
|
||||
# under the License.
|
||||
|
||||
import httplib2
|
||||
import re
|
||||
import six
|
||||
import sys
|
||||
@@ -65,11 +64,6 @@ class ShellTest(utils.BaseTestCase):
|
||||
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: ceilometer',
|
||||
|
||||
@@ -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