Fix unsuitable assertTrue
Fix unsuitable assertTrue

assertTrue accepts a parameter msg which will be printed when
assertion fails, usually msg is a str. This patch fixes unsuitable
usage of assertTrue which set msg to bool type True.

Change-Id: I731f8ea553c935eba0e112ffded16f41a5ea86c0
Fixes-Bug: #1226374

daasbank/swift,notmyname/swift,notmyname/swift,swiftstack/swift,tipabu/swift,AfonsoFGarcia/swift,thiagodasilva/swift,anishnarang/gswift,bradleypj823/swift,psachin/swift,williamthegrey/swift,dpgoetz/swift,takeshineshiro/swift,clayg/swift,sarvesh-ranjan/swift,openstack/swift,hurricanerix/swift,JioCloud/swift,matthewoliver/swift,openstack/swift,gold3bear/swift,williamthegrey/swift,redbo/swift,nadeemsyed/swift,Khushbu27/Tutorial,smerritt/swift,iostackproject/IO-Bandwidth-Differentiation,hurricanerix/swift,psachin/swift,mjzmjz/swift,nadeemsyed/swift,smerritt/swift,bouncestorage/swift,dpgoetz/swift,hbhdytf/mac2,hbhdytf/mac2,Akanoa/swift,hbhdytf/mac,hbhdytf/mac,citrix-openstack-build/swift,shibaniahegde/OpenStak_swift,takeshineshiro/swift,mjwtom/swift,aerwin3/swift,scality/ScalitySproxydSwift,eatbyte/Swift,zackmdavis/swift,clayg/swift,bkolli/swift,JioCloud/swift,xiaoguoai/ec-dev-swift,tipabu/swift,Seagate/swift,hurricanerix/swift,larsbutler/swift,matthewoliver/swift,bkolli/swift,notmyname/swift,mjwtom/swift,eatbyte/Swift,NeCTAR-RC/swift,Khushbu27/Tutorial,IPVL/swift-kilo,wenhuizhang/swift,openstack/swift,psachin/swift,prashanthpai/swift,thiagodasilva/swift,redhat-openstack/swift,Em-Pan/swift,dencaval/swift,citrix-openstack/build-swift,hbhdytf/mac2,rackerlabs/swift,swiftstack/swift,tipabu/swift,matthewoliver/swift,clayg/swift,maginatics/swift,rackerlabs/swift,AfonsoFGarcia/swift,openstack/swift,citrix-openstack/build-swift,IPVL/swift-kilo,nadeemsyed/swift,swiftstack/swift,hurricanerix/swift,maginatics/swift,psachin/swift,prashanthpai/swift,xiaoguoai/ec-dev-swift,shibaniahegde/OpenStak_swift,clayg/swift,smerritt/swift,tipabu/swift,daasbank/swift,bradleypj823/swift,larsbutler/swift,nadeemsyed/swift,anishnarang/gswift,Seagate/swift,citrix-openstack-build/swift,notmyname/swift,aerwin3/swift,gold3bear/swift,zackmdavis/swift,revoer/keystone-8.0.0,wenhuizhang/swift,levythu/swift,sarvesh-ranjan/swift,scality/ScalitySproxydSwift,mjzmjz/swift,matthewoliver/swift,dencaval/swift,levythu/swift,redbo/swift,Em-Pan/swift,NeCTAR-RC/swift,Akanoa/swift,bouncestorage/swift,iostackproject/IO-Bandwidth-Differentiation,redhat-openstack/swift,revoer/keystone-8.0.0,smerritt/swift,hbhdytf/mac2