mirror of
https://github.com/webrecorder/pywb.git
synced 2025-03-24 06:59:52 +01:00
tests: add test for wombat top
This commit is contained in:
parent
b0f7fdbed8
commit
377ea33bc8
@ -82,6 +82,10 @@ def test_example_domain_specific_3():
|
|||||||
# comment out bootloader
|
# comment out bootloader
|
||||||
assert '/* Bootloader.configurePage' in buff
|
assert '/* Bootloader.configurePage' in buff
|
||||||
|
|
||||||
|
def test_wombat_top():
|
||||||
|
status_headers, buff = get_rewritten('https://assets-cdn.github.com/assets/github-0f06d0f46fe7bcfbf31f2380f23aec15ba21b8ec.js', urlrewriter)
|
||||||
|
|
||||||
|
assert 'WB_wombat_top!==window' in buff
|
||||||
|
|
||||||
def test_post():
|
def test_post():
|
||||||
buff = BytesIO('ABC=DEF')
|
buff = BytesIO('ABC=DEF')
|
||||||
|
Loading…
x
Reference in New Issue
Block a user