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()
|
do_head()
|
||||||
post_container('t')
|
post_container('t')
|
||||||
do_head(expect_quoted=True)
|
do_head(expect_quoted=True)
|
||||||
|
try:
|
||||||
post_account('t')
|
post_account('t')
|
||||||
post_container('')
|
post_container('')
|
||||||
do_head(expect_quoted=True)
|
do_head(expect_quoted=True)
|
||||||
post_container('f')
|
post_container('f')
|
||||||
do_head()
|
do_head()
|
||||||
|
finally:
|
||||||
|
# Don't leave a dirty account
|
||||||
|
post_account('')
|
||||||
|
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
|
Loading…
x
Reference in New Issue
Block a user