Change xrange to range for python3 compatibility
Change xrange to range for python3 compatibility

For some reason 2 tests were using xrange() call failing python3 gate job.
Changed xrange() to range() for python3 compatibility

Change-Id: I13d8144326c9c496c9b59c69bd5ed420aa0d5873

openstack/keystone,himanshu-setia/keystone,ilay09/keystone,ilay09/keystone,rajalokan/keystone,openstack/keystone,ilay09/keystone,rajalokan/keystone,cernops/keystone,openstack/keystone,himanshu-setia/keystone,cernops/keystone,mahak/keystone,mahak/keystone,klmitch/keystone,rajalokan/keystone,mahak/keystone,klmitch/keystone