Revert "fix functional tests to cleanup containers"

This reverts commit 8608b5e816.
This commit is contained in:
Thiago da Silva 2014-07-11 15:02:55 -04:00
parent 09affa3951
commit 72eb3be6d2

View File

@ -119,10 +119,6 @@ class TestAccount(Base):
env = TestAccountEnv
set_up = False
@classmethod
def tearDownClass(self):
self.env.account.delete_containers()
def testNoAuthToken(self):
self.assertRaises(ResponseError, self.env.account.info,
cfg={'no_auth_token': True})
@ -356,10 +352,6 @@ class TestContainer(Base):
env = TestContainerEnv
set_up = False
@classmethod
def tearDownClass(self):
self.env.account.delete_containers()
def testContainerNameLimit(self):
limit = load_constraint('max_container_name_length')
@ -825,10 +817,6 @@ class TestFile(Base):
env = TestFileEnv
set_up = False
@classmethod
def tearDownClass(self):
self.env.account.delete_containers()
def testCopy(self):
# makes sure to test encoded characters
source_filename = 'dealde%2Fl04 011e%204c8df/flash.png'
@ -1547,10 +1535,6 @@ class TestDlo(Base):
env = TestDloEnv
set_up = False
@classmethod
def tearDownClass(self):
self.env.account.delete_containers()
def test_get_manifest(self):
file_item = self.env.container.file('man1')
file_contents = file_item.read()
@ -1714,10 +1698,6 @@ class TestFileComparison(Base):
env = TestFileComparisonEnv
set_up = False
@classmethod
def tearDownClass(self):
self.env.account.delete_containers()
def testIfMatch(self):
for file_item in self.env.files:
hdrs = {'If-Match': file_item.md5}
@ -1892,10 +1872,6 @@ class TestSlo(Base):
"Expected slo_enabled to be True/False, got %r" %
(self.env.slo_enabled,))
@classmethod
def tearDownClass(self):
self.env.account.delete_containers()
def test_slo_get_simple_manifest(self):
file_item = self.env.container.file('manifest-abcde')
file_contents = file_item.read()
@ -2173,10 +2149,6 @@ class TestObjectVersioning(Base):
"Expected versioning_enabled to be True/False, got %r" %
(self.env.versioning_enabled,))
@classmethod
def tearDownClass(self):
self.env.account.delete_containers()
def test_overwriting(self):
container = self.env.container
versions_container = self.env.versions_container
@ -2283,10 +2255,6 @@ class TestTempurl(Base):
self.obj_tempurl_parms = {'temp_url_sig': sig,
'temp_url_expires': str(expires)}
@classmethod
def tearDownClass(self):
self.env.account.delete_containers()
def tempurl_sig(self, method, expires, path, key):
return hmac.new(
key,
@ -2465,10 +2433,6 @@ class TestSloTempurl(Base):
"Expected enabled to be True/False, got %r" %
(self.env.enabled,))
@classmethod
def tearDownClass(self):
self.env.account.delete_containers()
def tempurl_sig(self, method, expires, path, key):
return hmac.new(
key,