yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #35126
[Bug 1268480] Re: assertTrue(isinstance()) in tests should be replace with assertIsInstance()
** Changed in: python-cinderclient
Status: Fix Committed => Fix Released
** Changed in: python-cinderclient
Milestone: None => 1.3.1
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1268480
Title:
assertTrue(isinstance()) in tests should be replace with
assertIsInstance()
Status in OpenStack Telemetry (Ceilometer):
Fix Released
Status in Cinder:
Opinion
Status in OpenStack Image Registry and Delivery Service (Glance):
Fix Released
Status in OpenStack Dashboard (Horizon):
Fix Released
Status in OpenStack Bare Metal Provisioning Service (Ironic):
Fix Released
Status in OpenStack Identity (Keystone):
Fix Released
Status in OpenStack Neutron (virtual network service):
Invalid
Status in OpenStack Compute (Nova):
Fix Released
Status in Python client library for Ceilometer:
Fix Released
Status in Python client library for Cinder:
Fix Released
Status in Python client library for Glance:
Fix Released
Status in Python client library for Keystone:
Fix Released
Status in Python client library for Nova:
Fix Released
Bug description:
some of tests use different method of assertTrue(isinstance(A, B)) or
assertEqual(type(A), B). The correct way is to use assertIsInstance(A,
B) provided by testtools
To manage notifications about this bug go to:
https://bugs.launchpad.net/ceilometer/+bug/1268480/+subscriptions
References