Comment 42 for bug 1449212

Revision history for this message
Matthew Oliver (matt-0) wrote :

Here is an updated version of Sam's patch, except with the test_GET_DLO_outside_container test fixed so the manifest is in container2 and points to the segments in container.

  + seg1 = self.env.container.file(
  + "get-dlo-outside-seg1" + Utils.create_name())
  + seg2 = self.env.container.file(
  + "get-dlo-outside-seg2" + Utils.create_name())
  + seg1.write("one fish two fish ")
  + seg2.write("red fish blue fish")
  +
  + container2 = self.env.account.container(Utils.create_name())
  +
  + manifest = container2.file("manifest" + Utils.create_name())
  + manifest.write(
  + '',
  + hdrs={"X-Object-Manifest": "%s/get-dlo-outside-seg" %
  + (self.env.container.name,)})