'Test /v2.0/tokens and /v2.0/tokens/ normalized URLs match.'

def test_trailing_slash_normalization(self):

    req1 = webob.Request.blank('/v2.0/tokens')
    req2 = webob.Request.blank('/v2.0/tokens/')
    self.middleware(req1.environ, self.start_fake_response)
    self.middleware(req2.environ, self.start_fake_response)
    self.assertEqual(req1.path_url, req2.path_url)
    self.assertEqual('http://localhost/v2.0/tokens', req1.path_url)
