DRY up URL version prefix usage in WSGI tests

Bug #1285219 reported by Kurt Griffiths
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
zaqar
Fix Released
Undecided
Victoria Martinez de la Cruz

Bug Description

Rather than writing this sort of thing all over the place:

    self.simulate_put(self.url_prefix + '/queues/fizbat', '7e55e1a7e')

We should be able to set the prefix once, and write this instead:

    self.simulate_put('/queues/fizbat', '7e55e1a7e')

Changed in marconi:
assignee: nobody → Victoria Martínez de la Cruz (vkmc)
Changed in marconi:
status: New → Confirmed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to marconi (master)

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

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

Reviewed: https://review.openstack.org/78400
Committed: https://git.openstack.org/cgit/openstack/marconi/commit/?id=2d53d8840e99e337dcb90eeb1ddce7129e4524c4
Submitter: Jenkins
Branch: master

commit 2d53d8840e99e337dcb90eeb1ddce7129e4524c4
Author: Victoria Martínez de la Cruz <email address hidden>
Date: Wed Mar 5 16:35:18 2014 -0300

    Slighty refactored url_prefix usage in WSGI tests

    Several calls to url_prefix has been replaced
    with the usage of a common variable in WSGI tests
    in order to adjust to DRY principles.

    Change-Id: I056e1e8879a97f6a30aff924e55bdf50897c08e4
    Closes-Bug: #1285219

Changed in marconi:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in marconi:
milestone: none → icehouse-rc1
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in marconi:
milestone: icehouse-rc1 → 2014.1
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.