Beispiel #1
0
    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())
Beispiel #2
0
    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())
Beispiel #3
0
 def test_view_amf_response():
     v = cv.ViewAMF()
     p = tutils.test_data.path("data/amf03")
     assert v(file(p, "rb").read())