Replace repeated assertion with the loss

In unit tests, there are two assertions for 'adminURL',
but lost one for 'internalURL'. Fixed the problem.

Change-Id: I4694cc121f8ad617a8c8e93e21bf6228f183dab6
Closes-bug: #1479582
This commit is contained in:
ZhengYue 2015-10-11 04:19:32 +08:00
parent 1c0d4f9e0f
commit 355e47abe1
1 changed files with 1 additions and 1 deletions

View File

@ -1671,7 +1671,7 @@ class v3AuthTokenMiddlewareTest(BaseAuthTokenMiddlewareTest,
# no point checking everything, just that it's in v2 format
self.assertIn('adminURL', endpoint)
self.assertIn('publicURL', endpoint)
self.assertIn('adminURL', endpoint)
self.assertIn('internalURL', endpoint)
class TokenEncodingTest(testtools.TestCase):