mirror of
https://github.com/internetarchive/brozzler.git
synced 2025-04-20 23:56:34 -04:00
another dumb fix
This commit is contained in:
parent
9a6fc0b12d
commit
c5ff31c906
@ -4,13 +4,9 @@ python:
|
||||
sudo: required
|
||||
dist: trusty
|
||||
before_install:
|
||||
- hostname
|
||||
- hostname -f
|
||||
- ping -c3 `hostname`
|
||||
- ping -c3 `hostname -f`
|
||||
- sudo pip install ansible==2.1.3.0
|
||||
install:
|
||||
- ansible-playbook -vvv --extra-vars="brozzler_pip_name=file://$TRAVIS_BUILD_DIR#egg=brozzler user=travis" --inventory-file=ansible/hosts-localhost ansible/playbook.yml
|
||||
- ansible-playbook --extra-vars="brozzler_pip_name=file://$TRAVIS_BUILD_DIR#egg=brozzler user=travis" --inventory-file=ansible/hosts-localhost ansible/playbook.yml
|
||||
- pip install $TRAVIS_BUILD_DIR pytest
|
||||
script:
|
||||
- py.test -v -s tests
|
||||
|
@ -29,6 +29,7 @@ import time
|
||||
import brozzler
|
||||
import datetime
|
||||
import requests
|
||||
import logging
|
||||
|
||||
@pytest.fixture(scope='module')
|
||||
def httpd(request):
|
||||
@ -169,7 +170,6 @@ def test_warcprox_selection(httpd):
|
||||
time.sleep(0.5)
|
||||
site = frontier.site(site.id)
|
||||
assert site.proxy[-5:] == ':8000'
|
||||
logging.info('site.proxy=%s', site.proxy)
|
||||
|
||||
# the site should be brozzled fairly quickly
|
||||
start = time.time()
|
||||
|
Loading…
x
Reference in New Issue
Block a user