Remove some unnecessary SkipTests

The @requires_acls decorator already checks for cluster_info["tempauth"]

Change-Id: I2c40fbea1fd799059dca6bfb82d5fed833991826
This commit is contained in:
Tim Burke 2018-07-25 16:15:38 -07:00
parent d398d60e5a
commit c3d83bae38

View File

@ -577,16 +577,12 @@ class TestContainerTempurl(Base):
@requires_acls @requires_acls
def test_tempurl_keys_visible_to_account_owner(self): def test_tempurl_keys_visible_to_account_owner(self):
if not tf.cluster_info.get('tempauth'):
raise SkipTest('TEMP AUTH SPECIFIC TEST')
metadata = self.env.container.info() metadata = self.env.container.info()
self.assertEqual(metadata.get('tempurl_key'), self.env.tempurl_key) self.assertEqual(metadata.get('tempurl_key'), self.env.tempurl_key)
self.assertEqual(metadata.get('tempurl_key2'), self.env.tempurl_key2) self.assertEqual(metadata.get('tempurl_key2'), self.env.tempurl_key2)
@requires_acls @requires_acls
def test_tempurl_keys_hidden_from_acl_readonly(self): def test_tempurl_keys_hidden_from_acl_readonly(self):
if not tf.cluster_info.get('tempauth'):
raise SkipTest('TEMP AUTH SPECIFIC TEST')
metadata = self.env.container.info(cfg={ metadata = self.env.container.info(cfg={
'use_token': self.env.conn2.storage_token}) 'use_token': self.env.conn2.storage_token})