diff options
author | David Kremer <courrier@david-kremer.fr> | 2018-08-15 18:49:22 +0200 |
---|---|---|
committer | David Kremer <courrier@david-kremer.fr> | 2018-08-15 19:47:55 +0200 |
commit | dcd8ba34ab652d7f8678637377c30e26f7efdd25 (patch) | |
tree | c7ae07edea9a8c321246d2ab87a02e4f7f506acb /setup.cfg | |
parent | e46e064df3e00e5807001a785730b49997c94169 (diff) | |
download | mitmproxy-dcd8ba34ab652d7f8678637377c30e26f7efdd25.tar.gz mitmproxy-dcd8ba34ab652d7f8678637377c30e26f7efdd25.tar.bz2 mitmproxy-dcd8ba34ab652d7f8678637377c30e26f7efdd25.zip |
[test/xss_scanner] add fixtures in tests
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.
Diffstat (limited to 'setup.cfg')
0 files changed, 0 insertions, 0 deletions