Commit Graph

35 Commits

Author SHA1 Message Date
debugtalk
088b118a92 change testcase name 2017-06-24 12:25:41 +08:00
debugtalk
b90dabf151 bugfix: In Python3, convert request.data(bytes) to str first 2017-06-24 12:13:27 +08:00
debugtalk
db68c394e8 handle_req_data: sort data with keys if request data is json type 2017-06-24 11:19:20 +08:00
debugtalk
d5e02d3319 use utils.gen_md5 function to generate md5 value 2017-06-23 14:43:04 +08:00
debugtalk
ee564ddacf update README 2017-06-22 23:31:56 +08:00
debugtalk
4267e369c5 improve exception notification 2017-06-22 23:14:33 +08:00
debugtalk
3fd53b4448 move public functions to utils.py 2017-06-22 23:08:01 +08:00
debugtalk
1e6e6ad81b ApiServer: add testcases for MD5 authentication 2017-06-22 19:51:50 +08:00
debugtalk
3b92859be3 ApiServer: add support MD5 authentication 2017-06-22 18:37:48 +08:00
debugtalk
b89c941236 TestRunner: add testcase suite writen in YAML 2017-06-21 19:17:29 +08:00
debugtalk
fc7ded4046 TestRunner: run testcase suite 2017-06-21 18:43:15 +08:00
debugtalk
1965a7ddce TestRunner: run single testcase 2017-06-21 18:26:02 +08:00
debugtalk
22a9ca6289 diff http response: body 2017-06-21 17:20:50 +08:00
debugtalk
7043893b44 change varaible name: response content => response body 2017-06-21 16:03:12 +08:00
debugtalk
53989f826e diff http response: headers 2017-06-21 15:56:01 +08:00
debugtalk
1f5ff5502c apiserver: get_customized_response, including status code and headers 2017-06-21 13:39:08 +08:00
debugtalk
4a025164a6 apiserver: add get_response_with_headers 2017-06-21 13:19:31 +08:00
debugtalk
8479a82983 diff http response: status code 2017-06-21 12:17:51 +08:00
debugtalk
c21646a01f apiserver: add get_response_with_status_code 2017-06-21 11:43:21 +08:00
debugtalk
369d4a9d47 bugfix: make compatible with python 2.7/3.3/3.4 2017-06-20 21:04:00 +08:00
debugtalk
05968afb29 bugfix: add PyYAML to requirements.txt 2017-06-20 20:52:28 +08:00
debugtalk
0cd7cfa72b remove tox 2017-06-20 20:49:04 +08:00
debugtalk
7d663d7447 add tox.ini 2017-06-20 20:42:25 +08:00
debugtalk
f02a5e007e add travis badge 2017-06-20 20:37:21 +08:00
debugtalk
4d69342d40 parse_response_object: load response content as json format if possible 2017-06-20 20:24:38 +08:00
debugtalk
278aaff290 add parse_response_object 2017-06-20 20:06:36 +08:00
debugtalk
898e0f27fa create ApiServerUnittest for public use 2017-06-20 20:04:10 +08:00
debugtalk
a62d3dd583 add requirements.txt 2017-06-20 19:48:55 +08:00
debugtalk
45351e3ba7 utils: testcases loader 2017-06-20 19:43:44 +08:00
debugtalk
f06adb064d move api_server start and terminate to class method in order to start api_server only once 2017-06-20 14:22:52 +08:00
debugtalk
bb199bd42e run api_server in multiprocessing.Thread other than gevent.pywsgi.WSGIServer 2017-06-20 13:25:59 +08:00
debugtalk
b775e8c217 update api_server and its tests 2017-06-19 16:19:17 +08:00
debugtalk
5ebad33759 add README and docs 2017-06-19 00:19:11 +08:00
debugtalk
7cbbaa3e49 create api server for test 2017-06-16 12:12:43 +08:00
debugtalk
62844038b2 Initial commit 2017-06-13 11:54:29 +08:00