def test_view_amf_request(): v = cv.ViewAMF() p = tutils.test_data.path("data/amf01") assert v([], file(p, "rb").read(), sys.maxsize) p = tutils.test_data.path("data/amf02") assert v([], file(p, "rb").read(), sys.maxsize)
def test_view_amf(self): try: import pyamf v = cv.ViewAMF() p = tutils.test_data.path("data/test.amf") assert v([], file(p).read(), sys.maxint) except ImportError: pass
def test_view_amf_response(): v = cv.ViewAMF() p = tutils.test_data.path("data/amf03") assert v([], file(p).read(), sys.maxint)