← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1416987] Re: Unite the propery test and fix test error for usage

 

** Changed in: horizon
       Status: Fix Committed => Fix Released

** Changed in: horizon
    Milestone: None => kilo-3

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

Title:
  Unite the propery test and fix test error for usage

Status in OpenStack Dashboard (Horizon):
  Fix Released

Bug description:
  In the code https://github.com/openstack/horizon/blob/master/openstack_dashboard/dashboards/admin/overview/tests.py#L116-L120
  sizeformat.diskgbformat(usage_list[0].disk_gb_hours)  is to test local_gb not disk_gb_hours.
  And usage_list[0].total_local_gb_usage need change to usage_list[0].disk_gb_hours, this unit test
  is for @property of object NovaUsage's.

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


References