def test_cls_OnScapy_afterScapyUrl(): onscapy = OnScapy() url,html,input_result = 'url','html','result' output_result = None result = onscapy.afterScapyUrl(url,html,input_result) assert result == output_result,\ ('OnScapy.afterScapyUrl(url,html,result) error',url,html,output_result,result)
def test_cls_OnScapy_filterHtml(): onscapy = OnScapy() url,html = 'url','html' result = 'html' assert onscapy.filterHtml(url,html)==result,('OnScapy.beforeScapyUrl(url,html) error',url,html,result)
def test_cls_OnScapy_beforreScapyUrl(): onscapy = OnScapy() url = 'url' result = 'url' assert onscapy.beforeScapyUrl(url)==result,('OnScapy.beforeScapyUrl(url) error',url,result)