Skip cross-account-copy functest if only one account

This looks like a case of copy-paste-itis. The cross-account-copy
functest is skipped if we have no test accounts configured, but not if
we have only one.

Change-Id: Ifbefdd9aeb98e3d02c536e9d29759f86ec9af6a1
This commit is contained in:
Samuel Merritt 2017-10-12 16:58:41 -07:00
parent b70436f91c
commit eaea0c4933
1 changed files with 1 additions and 1 deletions

View File

@ -583,7 +583,7 @@ class TestObject(unittest2.TestCase):
self.assertIn(resp.status, (204, 404))
def test_copy_between_accounts(self):
if tf.skip:
if tf.skip2:
raise SkipTest
source = '%s/%s' % (self.container, self.obj)