← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1416987] [NEW] Unit the propery test for usage

 

Public bug reported:

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.

** Affects: horizon
     Importance: Undecided
     Assignee: tinytmy (tangmeiyan77)
         Status: New

** Changed in: horizon
     Assignee: (unassigned) => tinytmy (tangmeiyan77)

-- 
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:
  Unit the propery test for usage

Status in OpenStack Dashboard (Horizon):
  New

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


Follow ups

References