add function to tests core that allows adding to paste file

Bug #1218720 reported by Steve Martinelli on 2013-08-30
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Identity (keystone)
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)
Dolph Mathews (dolph) wrote :

That sounds super useful

Changed in keystone:
importance: Undecided → Wishlist
status: New → Triaged
Dolph Mathews (dolph) wrote :

++ for keystone.tests.core

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

Changed in keystone:
status: Triaged → In Progress

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) on 2013-09-05
Changed in keystone:
milestone: none → havana-3
status: Fix Committed → Fix Released
Thierry Carrez (ttx) on 2013-10-17
Changed in keystone:
milestone: havana-3 → 2013.2
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers