~ubuntu-branches/ubuntu/saucy/python-glanceclient/saucy

« back to all changes in this revision

Viewing changes to tests/v1/test_images.py

  • Committer: Package Import Robot
  • Author(s): Chuck Short, Adam Gandelman, Chuck Short
  • Date: 2012-11-23 10:22:06 UTC
  • mfrom: (1.1.6)
  • Revision ID: package-import@ubuntu.com-20121123102206-0dlq52aydhudnrrc
Tags: 1:0.6.0-0ubuntu1
[ Adam Gandelman ]
* Ensure python-prettytable >= 0.6. (LP: #1073275)
* debian/control, pydist-overrides: Add python-openssl override.

[ Chuck Short ]
* New usptream release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
390
390
    def test_update_with_data(self):
391
391
        image_data = StringIO.StringIO('XXX')
392
392
        self.mgr.update('1', data=image_data)
393
 
        expect_headers = {'x-image-meta-size': '3', 'Content-Length': 3}
 
393
        expect_headers = {'x-image-meta-size': '3'}
394
394
        expect = [('PUT', '/v1/images/1', expect_headers, image_data)]
395
395
        self.assertEqual(self.api.calls, expect)
396
396