test_backend has an sql specific test in it

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

Bug Description

As part of the filter tests in test_backend.py there is a test called test_filter_sql_injection_attack() [1] which ensures we are not susceptible to sql injection attacks. This test should really be in test_backend_sql.py

[1] https://github.com/openstack/keystone/blob/31807b4cd69c9ffe08b416505eedb4729aab746f/keystone/tests/test_backend.py#L5365

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

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

commit 5cbc303c47a1556916107fe1fb37df5e8df73fb2
Author: Henry Nash <email address hidden>
Date: Thu Jan 15 01:30:03 2015 +0000

    Move sql specific filter test code into test_backend_sql

    The test for ensuring we are not prone to sql injection attacks
    was incorrectly in the main test_backend.py.

    Change-Id: I434ed090ad8407091cca9608a5dbaeb4d5ab9053
    Closes-bug: 1410750

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