~david-goetz/swift/db_double_quar

« back to all changes in this revision

Viewing changes to test/unit/common/middleware/test_swift3.py

  • Committer: Tarmac
  • Author(s): FUJITA Tomonori
  • Date: 2011-03-15 15:37:24 UTC
  • mfrom: (224.5.2 swift-copy-2)
  • Revision ID: tarmac-20110315153724-vi8zsfh4vl8ab7f2
s3api: fix PUT Object Copy

Show diffs side-by-side

added added

removed removed

Lines of Context:
508
508
        self.assertEquals(app.req.headers['ETag'],
509
509
                    '7dfa07a8e59ddbcd1dc84d4c4f82aea1')
510
510
        self.assertEquals(app.req.headers['X-Object-Meta-Something'], 'oh hai')
511
 
        self.assertEquals(app.req.headers['X-Object-Copy'], '/some/source')
 
511
        self.assertEquals(app.req.headers['X-Copy-From'], '/some/source')
512
512
 
513
513
    def test_object_DELETE_error(self):
514
514
        code = self._test_method_error(FakeAppObject, 'DELETE',