func tests: Allow test_etag_quoter to be run multiple times

Change-Id: Ifb1d091e58b9331b027edf981f6af5c015b56936
This commit is contained in:
Tim Burke 2020-04-20 21:19:45 -07:00
parent c7fe823c0a
commit 72a6177520

View File

@ -1766,11 +1766,15 @@ class TestObject(unittest.TestCase):
do_head()
post_container('t')
do_head(expect_quoted=True)
try:
post_account('t')
post_container('')
do_head(expect_quoted=True)
post_container('f')
do_head()
finally:
# Don't leave a dirty account
post_account('')
if __name__ == '__main__':