← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1512207] Re: Fix usage of assertions

 

Reviewed:  https://review.openstack.org/264211
Committed: https://git.openstack.org/cgit/openstack/aodh/commit/?id=20142f198a8dd837ea14b1c6f9488767113be89d
Submitter: Jenkins
Branch:    master

commit 20142f198a8dd837ea14b1c6f9488767113be89d
Author: Swapnil Kulkarni (coolsvap) <me@xxxxxxxxxxxx>
Date:   Wed Jan 6 20:39:02 2016 +0530

    Use assertTrue/False instead of assertEqual(T/F)
    
    The usage of assertEqual(True/False, ***) should be changed
    to a meaningful format of assertTrue/False(***).
    
    Change-Id: Ica728c6e287d7f93318f35f5a5a4901888ae463f
    Closes-Bug:#1512207


** Changed in: aodh
       Status: In Progress => Fix Released

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1512207

Title:
  Fix usage of assertions

Status in Aodh:
  Fix Released
Status in Barbican:
  In Progress
Status in Blazar:
  In Progress
Status in Cinder:
  In Progress
Status in congress:
  In Progress
Status in Cue:
  In Progress
Status in Glance:
  Won't Fix
Status in Group Based Policy:
  In Progress
Status in OpenStack Dashboard (Horizon):
  Fix Released
Status in Ironic:
  Fix Released
Status in Ironic Inspector:
  Fix Released
Status in OpenStack Identity (keystone):
  Fix Released
Status in Magnum:
  In Progress
Status in Manila:
  Fix Released
Status in Murano:
  In Progress
Status in neutron:
  In Progress
Status in OpenStack Compute (nova):
  In Progress
Status in OpenStack Health:
  In Progress
Status in os-brick:
  In Progress
Status in os-net-config:
  In Progress
Status in os-testr:
  In Progress
Status in oslo.cache:
  In Progress
Status in oslo.messaging:
  Fix Released
Status in oslo.utils:
  In Progress
Status in Packstack:
  In Progress
Status in python-barbicanclient:
  In Progress
Status in python-ceilometerclient:
  In Progress
Status in python-novaclient:
  Fix Released
Status in python-openstackclient:
  Fix Released
Status in OpenStack SDK:
  In Progress
Status in Rally:
  In Progress
Status in refstack:
  In Progress
Status in requests-mock:
  In Progress
Status in Sahara:
  Fix Released
Status in shaker:
  In Progress
Status in Solum:
  In Progress
Status in Stackalytics:
  Fix Released
Status in OpenStack Object Storage (swift):
  In Progress
Status in tempest:
  In Progress
Status in Trove:
  Fix Released
Status in tuskar:
  In Progress
Status in Vitrage:
  Fix Released
Status in watcher:
  Fix Released
Status in zaqar:
  Fix Released

Bug description:
  Manila  should use the specific assertion:

    self.assertIsTrue/False(observed)

  instead of the generic assertion:

    self.assertEqual(True/False, observed)

To manage notifications about this bug go to:
https://bugs.launchpad.net/aodh/+bug/1512207/+subscriptions


References