Fixture sets wrong project_domain_name

Bug #1342515 reported by Jamie Lennox
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-keystoneclient
Fix Released
Low
Jamie Lennox

Bug Description

The project_domain_name property on a v3 token fixture looks like:

def project_domain_name(self):
    return self.root.get('project', {}).get('project', {}).get('name')

This is incorrect as it's trying to retrieve the project's project, where it should be self['token']['project']['domain']['name'].

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to python-keystoneclient (master)

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

Changed in python-keystoneclient:
assignee: nobody → Jamie Lennox (jamielennox)
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to python-keystoneclient (master)

Reviewed: https://review.openstack.org/107228
Committed: https://git.openstack.org/cgit/openstack/python-keystoneclient/commit/?id=0ed2eec57f14b7f50e472405d7a78130f124e5af
Submitter: Jenkins
Branch: master

commit 0ed2eec57f14b7f50e472405d7a78130f124e5af
Author: Jamie Lennox <email address hidden>
Date: Wed Jul 16 14:14:54 2014 +1000

    Fix mistakes in token fixtures

    There are two small mistakes i discovered in the token fixtures. Fix
    these and add a bunch of new tests that would have caught them earlier.

    Closes-Bug: #1342513
    Closes-Bug: #1342515
    Change-Id: I7c07bd915fd84cc77cae0004220d8bb8d79bb082

Changed in python-keystoneclient:
status: In Progress → Fix Committed
Dolph Mathews (dolph)
Changed in python-keystoneclient:
importance: Undecided → Low
Dolph Mathews (dolph)
Changed in python-keystoneclient:
milestone: none → 0.10.0
Dolph Mathews (dolph)
Changed in python-keystoneclient:
status: Fix Committed → Fix Released
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.