コード例 #1
0
 def test_post(self):
     p = req_post()
     p.content = b'content'
     p.headers = ''
     flow = tutils.tflow(req=p)
     python_equals("data/test_flow_export/locust_post.py",
                   export.locust_code(flow))
コード例 #2
0
ファイル: test_flow_export.py プロジェクト: AlTune/mitmproxy
 def test_patch(self):
     flow = tutils.tflow(req=req_patch())
     python_equals("data/test_flow_export/locust_patch.py", export.locust_code(flow))
コード例 #3
0
ファイル: test_flow_export.py プロジェクト: AlTune/mitmproxy
 def test_post(self):
     p = req_post()
     p.content = '''content'''
     p.headers = ''
     flow = tutils.tflow(req=p)
     python_equals("data/test_flow_export/locust_post.py", export.locust_code(flow))
コード例 #4
0
 def test_patch(self):
     flow = tutils.tflow(req=req_patch())
     python_equals("data/test_flow_export/locust_patch.py", export.locust_code(flow))