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))
def test_patch(self): flow = tutils.tflow(req=req_patch()) python_equals("data/test_flow_export/locust_patch.py", export.locust_code(flow))
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))