Revision b773795c kamaki/clients/livetest/pithos.py

b/kamaki/clients/livetest/pithos.py
1111 1111
    def _test_0130_object_post(self):
1112 1112
        self.client.container = self.c2
1113 1113
        obj = 'test2'
1114

  
1114 1115
        """create a filesystem file"""
1115 1116
        self.files.append(NamedTemporaryFile())
1116 1117
        newf = self.files[-1]
......
1118 1119
            'ello!\n',
1119 1120
            'This is a test line\n',
1120 1121
            'inside a test file\n'])
1122

  
1121 1123
        """create a file on container"""
1122 1124
        r = self.client.object_put(
1123 1125
            obj,
......
1182 1184

  
1183 1185
        """Check if_etag_(not)match"""
1184 1186
        etag = r['etag']
1185
        """
1186 1187
        r = self.client.object_post(
1187 1188
            obj,
1188 1189
            update=True,
1189 1190
            public=True,
1190 1191
            if_etag_not_match=etag,
1191 1192
            success=(412, 202, 204))
1192
        self.assertEqual(r.status_code, 412)
1193
        """
1193
        #self.assertEqual(r.status_code, 412)
1194 1194

  
1195 1195
        r = self.client.object_post(
1196 1196
            obj,

Also available in: Unified diff