mirror of
https://github.com/internetarchive/warcprox.git
synced 2025-01-18 13:22:09 +01:00
allow travis-ci failures for python-nightly and also test 3.6-dev (but allow failures);
enable the onion site tor test because apparently travis-ci is allowing me to install tor now, see https://travis-ci.org/internetarchive/warcprox/jobs/169101744 although https://github.com/travis-ci/apt-package-whitelist/issues/1753 is still open
This commit is contained in:
parent
8001dd09b3
commit
fa1e8d3af4
@ -3,14 +3,16 @@ python:
|
|||||||
- 3.5
|
- 3.5
|
||||||
- 3.4
|
- 3.4
|
||||||
- 2.7
|
- 2.7
|
||||||
- nightly
|
|
||||||
- pypy
|
- pypy
|
||||||
- pypy3
|
- pypy3
|
||||||
|
- 3.6-dev
|
||||||
|
- nightly
|
||||||
|
|
||||||
matrix:
|
matrix:
|
||||||
allow_failures:
|
allow_failures:
|
||||||
- python: pypy
|
|
||||||
- python: pypy3
|
- python: pypy3
|
||||||
|
- python: nightly
|
||||||
|
- python: 3.6-dev
|
||||||
|
|
||||||
addons:
|
addons:
|
||||||
apt:
|
apt:
|
||||||
|
2
setup.py
2
setup.py
@ -51,7 +51,7 @@ except:
|
|||||||
|
|
||||||
setuptools.setup(
|
setuptools.setup(
|
||||||
name='warcprox',
|
name='warcprox',
|
||||||
version='2.0b2.dev32',
|
version='2.0b2.dev33',
|
||||||
description='WARC writing MITM HTTP/S proxy',
|
description='WARC writing MITM HTTP/S proxy',
|
||||||
url='https://github.com/internetarchive/warcprox',
|
url='https://github.com/internetarchive/warcprox',
|
||||||
author='Noah Levitt',
|
author='Noah Levitt',
|
||||||
|
@ -1099,7 +1099,7 @@ def test_domain_data_soft_limit(
|
|||||||
# XXX this test relies on a tor proxy running at localhost:9050 with a working
|
# XXX this test relies on a tor proxy running at localhost:9050 with a working
|
||||||
# connection to the internet, and relies on a third party site (facebook) being
|
# connection to the internet, and relies on a third party site (facebook) being
|
||||||
# up and behaving a certain way
|
# up and behaving a certain way
|
||||||
def _test_tor_onion(archiving_proxies):
|
def test_tor_onion(archiving_proxies):
|
||||||
response = requests.get('http://www.facebookcorewwwi.onion/',
|
response = requests.get('http://www.facebookcorewwwi.onion/',
|
||||||
proxies=archiving_proxies, verify=False, allow_redirects=False)
|
proxies=archiving_proxies, verify=False, allow_redirects=False)
|
||||||
assert response.status_code == 302
|
assert response.status_code == 302
|
||||||
|
Loading…
x
Reference in New Issue
Block a user