mirror of
https://github.com/webrecorder/pywb.git
synced 2025-03-15 08:04:49 +01:00
test: fix test to use closest='now' for live test
This commit is contained in:
parent
a2ffbde2f6
commit
98c0475806
@ -221,7 +221,7 @@ class TestResAgg(MementoOverrideTests, FakeRedisTests, BaseTestClass):
|
||||
|
||||
@patch('pywb.webagg.indexsource.MementoIndexSource.get_timegate_links', MementoOverrideTests.mock_link_header('select_live'))
|
||||
def test_agg_select_live(self):
|
||||
resp = self.testapp.get('/many/resource?url=http://vvork.com/&closest=2016')
|
||||
resp = self.testapp.get('/many/resource?url=http://vvork.com/&closest=now')
|
||||
|
||||
assert resp.headers['WebAgg-Source-Coll'] == 'live'
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user