Full test suite

stretch:

apt install tox
cd twisted-16.6.0/
chown -R nonroot: .
# cf. README.rst
su nonroot -c 'tox -e py27-tests'
su nonroot -c 'PYTHONPATH=src/ trial twisted'
su nonroot -c 'PYTHONPATH=src/ trial twisted.web'
su nonroot -c 'PYTHONPATH=src/ trial twisted.web.test.test_http'
su nonroot -c 'PYTHONPATH=src/ trial twisted.web.test.test_http.ParsingTests'

jessie:

cd twisted-14.0.2/
# cf. README
chown -R nonroot: .
su nonroot -c 'bin/trial twisted'
su nonroot -c 'bin/trial twisted.web'
su nonroot -c 'bin/trial twisted.web.test.test_http'
su nonroot -c 'bin/trial twisted.web.test.test_http.ParsingTestCase'

This stalls/timeouts during SSL tests AFAICS.

Smoke test

twisted-web:

twistd -n web --path /var/www/html/
curl http://192.168.x.x:8080/hello.rpy

cp -a docs/web/examples/hello.rpy.py /var/www/html/hello.rpy
# jessie: cp -a doc/_downloads/hello.rpy.py /var/www/html/hello.rpy
curl http://192.168.x.x:8080/hello.rpy

python docs/web/examples/getpage.py http://debian.org
# jessie: python doc/_downloads/getpage.py http://debian.org

python docs/web/howto/listings/client/cookies.py
# jessie: python doc/_downloads/cookies.py