Remove duplicated test

Remove the v2 duplicated test that does the exact same thing as the v3
test.

Change-Id: I316dbb3b57c0218e2267501b0be6bc8686e71ae9
This commit is contained in:
Morgan Fainberg 2018-06-06 12:56:00 -07:00
parent 0211cdd05f
commit 4bc762f033
1 changed files with 1 additions and 11 deletions

View File

@ -47,17 +47,7 @@ class TestFernetTokenProvider(unit.TestCase):
def test_supports_bind_authentication_returns_false(self):
self.assertFalse(self.provider._supports_bind_authentication)
def test_invalid_v3_token_raises_token_not_found(self):
token_id = uuid.uuid4().hex
e = self.assertRaises(
exception.TokenNotFound,
self.provider.validate_token,
token_id)
self.assertIn(token_id, u'%s' % e)
def test_invalid_v2_token_raises_token_not_found(self):
# NOTE(morgan): Kept for regression testing, should not be deleted
# even though it references V2.0
def test_invalid_token_raises_token_not_found(self):
token_id = uuid.uuid4().hex
e = self.assertRaises(
exception.TokenNotFound,