mirror of
https://github.com/webrecorder/pywb.git
synced 2025-03-15 00:03:28 +01:00
tests & travis: change live test to httpbin, remove 3.3 for now
This commit is contained in:
parent
36862fd9e9
commit
008bc47fad
@ -2,7 +2,6 @@ language: python
|
||||
|
||||
python:
|
||||
- "2.7"
|
||||
- "3.3"
|
||||
- "3.4"
|
||||
- "3.5"
|
||||
|
||||
|
@ -301,13 +301,13 @@ foo=bar&test=abc"""
|
||||
assert 'ResErrors' not in resp.headers
|
||||
|
||||
def test_agg_seq_fallback_1(self):
|
||||
resp = self.testapp.get('/fallback/resource?url=http://www.iana.org/')
|
||||
resp = self.testapp.get('/fallback/resource?url=http://httpbin.org/')
|
||||
|
||||
assert resp.headers['WebAgg-Source-Coll'] == 'live'
|
||||
|
||||
self._check_uri_date(resp, 'http://www.iana.org/', True)
|
||||
self._check_uri_date(resp, 'http://httpbin.org/', True)
|
||||
|
||||
assert resp.headers['Link'] == MementoUtils.make_link('http://www.iana.org/', 'original')
|
||||
assert resp.headers['Link'] == MementoUtils.make_link('http://httpbin.org/', 'original')
|
||||
|
||||
assert b'HTTP/1.1 200 OK' in resp.body
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user