~ubuntu-branches/ubuntu/saucy/python-novaclient/saucy-proposed

« back to all changes in this revision

Viewing changes to novaclient/tests/test_http.py

  • Committer: Package Import Robot
  • Author(s): Chuck Short
  • Date: 2013-09-24 09:15:12 UTC
  • mfrom: (1.1.31)
  • Revision ID: package-import@ubuntu.com-20130924091512-yjzov9e7qa8sdb1v
Tags: 1:2.15.0-0ubuntu1
* New upstream version.
* debian/control:
  - Add python-babel, python-keyring, and python-six build-depends.
  - Dropped python-argparse, python-setuptools-git, python-httplib2,
    python-nose as a build-depends.
  - Dropped python-httplib2 and python-keyring as a dependency.
  - Add versioned depends for python-requests, python-simplejson,
    python-fixtures, testrepesitory.

Show diffs side-by-side

added added

removed removed

Lines of Context:
115
115
    def test_client_logger(self):
116
116
        cl1 = client.HTTPClient("username", "password", "project_id",
117
117
                                "auth_test", http_log_debug=True)
118
 
        self.assertEquals(len(cl1._logger.handlers), 1)
 
118
        self.assertEqual(len(cl1._logger.handlers), 1)
119
119
 
120
120
        cl2 = client.HTTPClient("username", "password", "project_id",
121
121
                                "auth_test", http_log_debug=True)
122
 
        self.assertEquals(len(cl2._logger.handlers), 1)
 
122
        self.assertEqual(len(cl2._logger.handlers), 1)