Remove some unnecessary SkipTests
The @requires_acls decorator already checks for cluster_info["tempauth"] Change-Id: I2c40fbea1fd799059dca6bfb82d5fed833991826
This commit is contained in:
parent
d398d60e5a
commit
c3d83bae38
@ -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})
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user