Assertion bug in test_cells_weights.py

Bug #1230109 reported by Zhongyue Luo
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Fix Released
Undecided
Zhongyue Luo

Bug Description

On line 70,

 self.assert_('RamByInstanceTypeWeigher', class_names)

should be

 self.assertIn('RamByInstanceTypeWeigher', class_names)

Zhongyue Luo (zyluo)
Changed in nova:
assignee: nobody → Zhongyue Luo (zyluo)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to nova (master)

Fix proposed to branch: master
Review: https://review.openstack.org/48192

Changed in nova:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova (master)

Reviewed: https://review.openstack.org/48192
Committed: http://github.com/openstack/nova/commit/c284022b6ba6e20faf5f4fc3f9730ebe355d937f
Submitter: Jenkins
Branch: master

commit c284022b6ba6e20faf5f4fc3f9730ebe355d937f
Author: Zhongyue Luo <email address hidden>
Date: Wed Sep 25 15:04:04 2013 +0800

    Fixes assertion bug in test_cells_weights.py

    An assertTrue was used where an assertIn is needed.

    Fixes bug #1230109

    Change-Id: Id75478b958ca8b9bc030563cfdef27a89e86b881

Changed in nova:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in nova:
milestone: none → havana-rc1
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in nova:
milestone: havana-rc1 → 2013.2
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.