func tests: Allow test_etag_quoter to be run multiple times
Change-Id: Ifb1d091e58b9331b027edf981f6af5c015b56936
This commit is contained in:
parent
c7fe823c0a
commit
72a6177520
@ -1766,11 +1766,15 @@ class TestObject(unittest.TestCase):
|
||||
do_head()
|
||||
post_container('t')
|
||||
do_head(expect_quoted=True)
|
||||
post_account('t')
|
||||
post_container('')
|
||||
do_head(expect_quoted=True)
|
||||
post_container('f')
|
||||
do_head()
|
||||
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__':
|
||||
|
Loading…
Reference in New Issue
Block a user