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