new_role_ref() in unit tests adds unused attributes

Bug #1354417 reported by Henry Nash
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Identity (keystone)
Fix Released
Low
Henry Nash

Bug Description

new_role_ref() simple calls new_ref() which adds creates an entity with 'id', 'name', 'description' and 'enabled'. Roles should only have 'id' and 'name'.

Henry Nash (henry-nash)
Changed in keystone:
importance: Undecided → Wishlist
Henry Nash (henry-nash)
Changed in keystone:
assignee: nobody → Henry Nash (henry-nash)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to keystone (master)

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

Changed in keystone:
status: New → In Progress
Dolph Mathews (dolph)
tags: added: test-improvement
Changed in keystone:
importance: Wishlist → Low
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to keystone (master)

Reviewed: https://review.openstack.org/112965
Committed: https://git.openstack.org/cgit/openstack/keystone/commit/?id=5b2475807ef383655e7e4afe234eb2f8b72c2487
Submitter: Jenkins
Branch: master

commit 5b2475807ef383655e7e4afe234eb2f8b72c2487
Author: Henry Nash <email address hidden>
Date: Fri Aug 8 17:18:26 2014 +0100

    Ensure roles created by unit tests have correct attributes.

    Change-Id: I04817c992fe66d4937960a3e5dedb954606a4334
    Closes-bug: 1354417

Changed in keystone:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in keystone:
milestone: none → juno-3
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in keystone:
milestone: juno-3 → 2014.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.