func tests: tolerate more 404s when deleting

Change-Id: I3129e4f94ac39964f2f17ea05b6b2dd807fba82a
This commit is contained in:
Tim Burke 2019-06-18 09:54:02 -07:00
parent bc19dd1649
commit b10f4bae28

View File

@ -136,7 +136,7 @@ class TestDlo(Base):
man1_item.copy(self.env.container.name, "copied-man1")
finally:
# 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_contents = file_item.read()
@ -162,7 +162,7 @@ class TestDlo(Base):
"copied-man1")
finally:
# 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_contents = file_item.read()
@ -192,7 +192,8 @@ class TestDlo(Base):
copied.info()['x_object_manifest'])
finally:
# 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):
manifest = self.env.container.file("man1")