← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1413480] [NEW] Incorrect volume snapshot mocking in quota tests

 

Public bug reported:

In openstack_dashboard/test/tests/quotas.py we're using self.snapshots
as the return value for volume_snapshot_list, which is a list of Glance
snapshots. It should be self.cinder_volume_snapshots.

         cinder.volume_snapshot_list(IsA(http.HttpRequest),
opts).AndReturn(self.snapshots.list())

** Affects: horizon
     Importance: Low
     Assignee: Kieran Spear (kspear)
         Status: New

** Changed in: horizon
     Assignee: (unassigned) => Kieran Spear (kspear)

** Changed in: horizon
   Importance: Undecided => Low

-- 
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/1413480

Title:
  Incorrect volume snapshot mocking in quota tests

Status in OpenStack Dashboard (Horizon):
  New

Bug description:
  In openstack_dashboard/test/tests/quotas.py we're using self.snapshots
  as the return value for volume_snapshot_list, which is a list of
  Glance snapshots. It should be self.cinder_volume_snapshots.

           cinder.volume_snapshot_list(IsA(http.HttpRequest),
  opts).AndReturn(self.snapshots.list())

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


Follow ups

References