mirror of
https://github.com/webrecorder/pywb.git
synced 2025-03-15 00:03:28 +01:00
tests: disable 'invalid config' test as its no longer applicable, fix default banner to just 'banner.html'
This commit is contained in:
parent
5c67782a2c
commit
69613a0e25
@ -21,9 +21,9 @@ paths:
|
||||
search_html: search.html
|
||||
|
||||
|
||||
banner_html: ui/banner.html
|
||||
head_insert_html: ui/head_insert.html
|
||||
frame_insert_html: ui/frame_insert.html
|
||||
banner_html: banner.html
|
||||
|
||||
home_html: ui/index.html
|
||||
|
||||
@ -46,3 +46,4 @@ enable_memento: true
|
||||
|
||||
domain_specific_rules: pywb/rules.yaml
|
||||
|
||||
framed_replay: true
|
||||
|
@ -461,10 +461,10 @@ class TestWb:
|
||||
assert resp.status_int == 400
|
||||
assert 'Invalid Url: http://?abc' in resp.body
|
||||
|
||||
def test_invalid_config(self):
|
||||
with raises(IOError):
|
||||
init_app(create_wb_router,
|
||||
load_yaml=True,
|
||||
config_file='x-invalid-x')
|
||||
#def test_invalid_config(self):
|
||||
# with raises(IOError):
|
||||
# init_app(create_wb_router,
|
||||
# load_yaml=True,
|
||||
# config_file='x-invalid-x')
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user