Revision 5c2058e7 kamaki/clients/pithos/test.py
b/kamaki/clients/pithos/test.py | ||
---|---|---|
1028 | 1028 |
tmpFile.seek(0) |
1029 | 1029 |
ctype = 'video/mpeg' |
1030 | 1030 |
sharing = dict(read=['u1', 'g1', 'u2'], write=['u1']) |
1031 |
r = self.client.upload_object(obj, tmpFile, |
|
1031 |
r = self.client.upload_object( |
|
1032 |
obj, tmpFile, |
|
1032 | 1033 |
content_type=ctype, sharing=sharing) |
1033 | 1034 |
self.assert_dicts_are_equal(r, exp_headers) |
1034 | 1035 |
self.assertEqual(OP.mock_calls[-1][2]['content_type'], ctype) |
Also available in: Unified diff