def test_view_amf_request(): v = cv.ViewAMF() p = tutils.test_data.path("data/amf01") assert v(file(p, "rb").read()) p = tutils.test_data.path("data/amf02") assert v(file(p, "rb").read())
def test_view_amf_request(): v = cv.ViewAMF() p = tutils.test_data.path("mitmproxy/data/amf01") assert v(open(p, "rb").read()) p = tutils.test_data.path("mitmproxy/data/amf02") assert v(open(p, "rb").read())
def test_view_amf_response(): v = cv.ViewAMF() p = tutils.test_data.path("data/amf03") assert v(file(p, "rb").read())