There may be more, but here's the few examples I came across:
keystone/tests/test_middleware.py:152: self.assertTrue(req.content_type, 'application/json') keystone/tests/test_v3_oauth1.py:150: self.assertTrue(resp.result.get('consumer').get('id'), consumer_id) keystone/tests/test_v3_oauth1.py:272: self.assertTrue(entity['id'], self.access_token.key) keystone/tests/test_v3_oauth1.py:273: self.assertTrue(entity['consumer_id'], self.consumer.key) keystone/tests/test_v3_oauth1.py:297: self.assertTrue(entity['id'], self.role_id)
tests/v2_0/test_ec2.py:148: self.assertTrue(len(creds), 2)
There may be more, but here's the few examples I came across:
keystone/ tests/test_ middleware. py:152: self.assertTrue (req.content_ type, 'application/json') tests/test_ v3_oauth1. py:150: self.assertTrue (resp.result. get('consumer' ).get(' id'), consumer_id) tests/test_ v3_oauth1. py:272: self.assertTrue (entity[ 'id'], self.access_ token.key) tests/test_ v3_oauth1. py:273: self.assertTrue (entity[ 'consumer_ id'], self.consumer.key) tests/test_ v3_oauth1. py:297: self.assertTrue (entity[ 'id'], self.role_id)
keystone/
keystone/
keystone/
keystone/
tests/v2_ 0/test_ ec2.py: 148: self.assertTrue (len(creds) , 2)