Tue, 06 Jan 2015 21:39:09 +0100
Conditionally force memory storage according to privacy.thirdparty.isolate;
This solves Tor bug #9701, complying with disk avoidance documented in
https://www.torproject.org/projects/torbrowser/design/#disk-avoidance.
michael@0 | 1 | [tox] |
michael@0 | 2 | envlist = py24,py25,py26,py27,py31,pypy,py32,py33,jython |
michael@0 | 3 | |
michael@0 | 4 | [testenv] |
michael@0 | 5 | deps=unittest2 |
michael@0 | 6 | commands={envbindir}/unit2 discover [] |
michael@0 | 7 | |
michael@0 | 8 | [testenv:py26] |
michael@0 | 9 | commands= |
michael@0 | 10 | {envbindir}/unit2 discover [] |
michael@0 | 11 | {envbindir}/sphinx-build -E -b doctest docs html |
michael@0 | 12 | {envbindir}/sphinx-build -E docs html |
michael@0 | 13 | deps = |
michael@0 | 14 | unittest2 |
michael@0 | 15 | sphinx |
michael@0 | 16 | |
michael@0 | 17 | [testenv:py27] |
michael@0 | 18 | commands= |
michael@0 | 19 | {envbindir}/unit2 discover [] |
michael@0 | 20 | {envbindir}/sphinx-build -E -b doctest docs html |
michael@0 | 21 | deps = |
michael@0 | 22 | unittest2 |
michael@0 | 23 | sphinx |
michael@0 | 24 | |
michael@0 | 25 | [testenv:py31] |
michael@0 | 26 | deps = |
michael@0 | 27 | unittest2py3k |
michael@0 | 28 | |
michael@0 | 29 | [testenv:py32] |
michael@0 | 30 | commands= |
michael@0 | 31 | {envbindir}/python -m unittest discover [] |
michael@0 | 32 | deps = |
michael@0 | 33 | |
michael@0 | 34 | [testenv:py33] |
michael@0 | 35 | commands= |
michael@0 | 36 | {envbindir}/python -m unittest discover [] |
michael@0 | 37 | deps = |
michael@0 | 38 | |
michael@0 | 39 | # note for jython. Execute in tests directory: |
michael@0 | 40 | # rm `find . -name '*$py.class'` |