Revision 2005b18e kamaki/clients/tests/pithos.py

b/kamaki/clients/tests/pithos.py
664 664
        self.assertEqual(r['content-type'], 'application/octet-stream')
665 665

  
666 666
        """create the object"""
667
        r = self.client.object_put(obj,
667
        r = self.client.object_put(
668
            obj,
668 669
            data='a',
669 670
            content_type='application/octer-stream',
670 671
            permissions=dict(
......
838 839
        obj = 'test2'
839 840

  
840 841
        data = '{"key1":"val1", "key2":"val2"}'
841
        r = self.client.object_put(obj + 'orig',
842
        r = self.client.object_put(
843
            '%sorig' % obj,
842 844
            content_type='application/octet-stream',
843 845
            data=data,
844 846
            metadata=dict(mkey1='mval1', mkey2='mval2'),

Also available in: Unified diff