KeyError: 'available' in upstream unit tests

Bug #1381073 reported by Bradley Jones
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Dashboard (Horizon)
Fix Released
Undecided
Bradley Jones

Bug Description

Appears in floating_ips/tests in this test test_allocate_button_disabled_when_quota_exceeded

Patch 118478 introduced security group create buttons respecting quotas. This
unit test needs to mock the security group available variable for quotas to
avoid the KeyError.

Changed in horizon:
assignee: nobody → Bradley Jones (bradjones)
description: updated
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to horizon (master)

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

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

Reviewed: https://review.openstack.org/128295
Committed: https://git.openstack.org/cgit/openstack/horizon/commit/?id=9a1c15338bbdfa8e9563bebc1e654d3c05173cd2
Submitter: Jenkins
Branch: master

commit 9a1c15338bbdfa8e9563bebc1e654d3c05173cd2
Author: Bradley Jones <email address hidden>
Date: Tue Oct 14 14:59:23 2014 +0100

    Fixes KeyError in floating ip unit test

    Patch 118478 introduced security group create buttons respecting quotas. This
    unit test needs to have the security group quota available for quotas to
    avoid the KeyError.

    Change-Id: I3214fa1e383b9520ac2bb963e41d0163d45acd62
    Closes-bug: 1381073

Changed in horizon:
status: In Progress → Fix Committed
Akihiro Motoki (amotoki)
Changed in horizon:
milestone: none → kilo-1
Thierry Carrez (ttx)
Changed in horizon:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in horizon:
milestone: kilo-1 → 2015.1.0
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.