subunit2sql/subunit2sql
Matthew Treinish 3fa49d84ca
Add a unit test with a simple sql injection ala xkcd
This commit adds a basic unit tests with a simple sql injection attack
for a test name. All of the database interactions on the insert are done
through sqlalchemy and the ORM should be protecting us against this
attack vector. The test added here is just to sanity check this and so
we have something to point to. It's not intended to actually be a
thorough or even a real security test or a thorough security audit.

Change-Id: Iee5ed994328cf44834a1becb246f9983881d2129
2017-07-25 15:51:29 -04:00
..
analysis Dailycount should not need build_queue to exist. 2017-06-16 15:34:45 +02:00
db Add new graph time for variance of individual tests 2017-03-08 11:33:20 -05:00
migrations Fix the subunit2sql migration and tests error with mysql 5.7 2016-08-09 18:55:42 +08:00
targets Example of how to use targets plugins 2015-11-10 23:07:18 -08:00
tests Add a unit test with a simple sql injection ala xkcd 2017-07-25 15:51:29 -04:00
__init__.py Initial commit 2014-06-12 23:59:00 -04:00
exceptions.py Store counts for runs and tests 2014-06-16 11:02:21 -04:00
read_subunit.py Add subunit2sql CLI option to use run wall time 2016-09-14 11:04:11 -04:00
shell.py Add vcs status to version option 2017-06-19 16:31:09 +09:00
write_subunit.py Handle test_runs without metadata in write_subunit 2015-12-09 15:39:16 -05:00