add function to tests core that allows adding to paste file

Bug #1218720 reported by Steve Martinelli
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Identity (keystone)
Fix Released
Wishlist
Steve Martinelli

Bug Description

Both endpoint filtering and oauth1 extensions have tests in keystone that dynamically create a paste file that adds that specific extension to the pipeline.

It would be best to put this in a utils file or just core.py under tests, so other extensions can use it.

Changed in keystone:
assignee: nobody → Steve Martinelli (stevemar)
Revision history for this message
Dolph Mathews (dolph) wrote :

That sounds super useful

Changed in keystone:
importance: Undecided → Wishlist
status: New → Triaged
Revision history for this message
Dolph Mathews (dolph) wrote :

++ for keystone.tests.core

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

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

Reviewed: https://review.openstack.org/44509
Committed: http://github.com/openstack/keystone/commit/55a4c06d26c8751fefa6d64ddb4a2e0ecd9a189f
Submitter: Jenkins
Branch: master

commit 55a4c06d26c8751fefa6d64ddb4a2e0ecd9a189f
Author: Steve Martinelli <email address hidden>
Date: Fri Aug 30 10:08:57 2013 -0500

    Move _generate_paste_config to tests.core

    Seeing as how tests for oauth1 and endpoint filtering each have
    their own private functions for creating a new paste-ini file,
    I think it's best to move these to tests.core.
    Future extensions will benefit from this too.

    fixes bug: #1218720

    Change-Id: Ic31b78dda0a66ddc4c4214bca4ba3b683d554886

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