aboutsummaryrefslogtreecommitdiffstats
path: root/test/examples/test_xss_scanner.py
Commit message (Collapse)AuthorAgeFilesLines
* [test/xss_scanner] add fixtures in testsDavid Kremer2018-08-151-35/+40
| | | | | | | | | | The previous version of that script made a repetitive use of the pytest builtin fixture, with always the same arguments. This is a small refactoring and cleanup, mainly adding the 'function' scope to ensure proper cleaning and using the @pytest.fixture decorator where I could.
* Revamp verbosity optionsAldo Cortesi2018-02-261-0/+3
| | | | | | | | | | Split verbosity into termlog_verbosity and console_eventlog_verbosity. This patch also removes printing to console if there are unknown options in the command-line. Options now live in separate addons, so having uknown options remaining is common and expected. We definitely shoould have some other way for users to see what was ignored so they can catch typos and the like, but that's a different patch.
* Fix test fails in test_xss_scanner when running tox without internet ↵Deepesh Pathak2018-02-241-0/+9
| | | | | | | | connections. - Add mock implementation for gethostbyname in test_xss_scanner. - Fix failed tests when running tox without internet connection. - Fixes #2867
* Extend mypy checking, fix #2194 (#2819)Arushit Mudgal2018-02-031-4/+4
|
* Added scanning for CSS injection and iframe injectionDavid Dworken2017-10-171-1/+7
|
* move examples tests (#2199)Thomas Kriechbaumer2017-03-221-0/+368