Fix import ordering in tempest plugins

For some reason the third-party imports were divided into two
separate groups. This commit combines them to follow the convention
established throughout the rest of the project.

Change-Id: Ice1a681938aef96d0d289a83cadc1cde2f12eb1e
This commit is contained in:
Lance Bragstad 2016-12-20 22:01:51 +00:00 committed by Steve Martinelli
parent dda1fc369b
commit 11545b5f0f
1 changed files with 5 additions and 6 deletions

View File

@ -14,10 +14,9 @@
from lxml import etree
from six.moves import http_client
from tempest import config
from tempest.lib.common.utils import data_utils
from testtools import skipUnless
import testtools
from keystone_tempest_plugin.tests import base
@ -157,13 +156,13 @@ class TestSaml2EcpFederatedAuthentication(base.BaseIdentityTest):
return resp
@skipUnless(CONF.identity_feature_enabled.federation,
"Federated Identity feature not enabled")
@testtools.skipUnless(CONF.identity_feature_enabled.federation,
"Federated Identity feature not enabled")
def test_request_unscoped_token(self):
self._request_unscoped_token()
@skipUnless(CONF.identity_feature_enabled.federation,
"Federated Identity feature not enabled")
@testtools.skipUnless(CONF.identity_feature_enabled.federation,
"Federated Identity feature not enabled")
def test_request_scoped_token(self):
resp = self._request_unscoped_token()
token_id = resp.headers['X-Subject-Token']