Fix typo of ANS1 to ASN1

Replace is_ans1_token with is_asn1_token in test of v3 auth. This is dependent
upon the review of python-keystoneclient. https://review.openstack.org/87069

Change-Id: I5ab0205f9c58a769cd1f2a5ffe51ca37d981fe67
Closes-bug: 1306874
This commit is contained in:
mathrock 2014-04-12 01:01:39 -04:00
parent c4c89b793d
commit 775a020c15
1 changed files with 1 additions and 1 deletions

View File

@ -423,7 +423,7 @@ class TestUUIDTokenAPIs(test_v3.RestfulTestCase, TokenAPITests):
token_data = resp.result
token_id = resp.headers.get('X-Subject-Token')
self.assertIn('expires_at', token_data['token'])
self.assertFalse(cms.is_ans1_token(token_id))
self.assertFalse(cms.is_asn1_token(token_id))
def test_v3_v2_hashed_pki_token_intermix(self):
# this test is only applicable for PKI tokens