1
0
mirror of https://github.com/webrecorder/pywb.git synced 2025-03-15 00:03:28 +01:00

tests: add test for wombat top

This commit is contained in:
Ilya Kreymer 2014-06-28 11:53:23 -07:00
parent b0f7fdbed8
commit 377ea33bc8

View File

@ -82,6 +82,10 @@ def test_example_domain_specific_3():
# comment out bootloader
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():
buff = BytesIO('ABC=DEF')