Fix test method use
Fix test method use

Use assertIsNot instead of assertFalse with a separate identity
check.

Change-Id: Id79e0a72aa9946791cbafd9e0f30c962f2c78001

openstack/oslo.i18n,varunarya10/oslo.i18n