Merge "func tests: tolerate more 404s when deleting"
This commit is contained in:
commit
4643412bd1
@ -136,7 +136,7 @@ class TestDlo(Base):
|
|||||||
man1_item.copy(self.env.container.name, "copied-man1")
|
man1_item.copy(self.env.container.name, "copied-man1")
|
||||||
finally:
|
finally:
|
||||||
# try not to leave this around for other tests to stumble over
|
# try not to leave this around for other tests to stumble over
|
||||||
f_segment.delete()
|
f_segment.delete(tolerate_missing=True)
|
||||||
|
|
||||||
file_item = self.env.container.file('copied-man1')
|
file_item = self.env.container.file('copied-man1')
|
||||||
file_contents = file_item.read()
|
file_contents = file_item.read()
|
||||||
@ -162,7 +162,7 @@ class TestDlo(Base):
|
|||||||
"copied-man1")
|
"copied-man1")
|
||||||
finally:
|
finally:
|
||||||
# try not to leave this around for other tests to stumble over
|
# try not to leave this around for other tests to stumble over
|
||||||
f_segment.delete()
|
f_segment.delete(tolerate_missing=True)
|
||||||
|
|
||||||
file_item = self.env.container.file('copied-man1')
|
file_item = self.env.container.file('copied-man1')
|
||||||
file_contents = file_item.read()
|
file_contents = file_item.read()
|
||||||
@ -192,7 +192,8 @@ class TestDlo(Base):
|
|||||||
copied.info()['x_object_manifest'])
|
copied.info()['x_object_manifest'])
|
||||||
finally:
|
finally:
|
||||||
# try not to leave this around for other tests to stumble over
|
# try not to leave this around for other tests to stumble over
|
||||||
self.env.container.file("copied-man1").delete()
|
self.env.container.file("copied-man1").delete(
|
||||||
|
tolerate_missing=True)
|
||||||
|
|
||||||
def test_dlo_if_match_get(self):
|
def test_dlo_if_match_get(self):
|
||||||
manifest = self.env.container.file("man1")
|
manifest = self.env.container.file("man1")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user