cyborg/cyborg/api/controllers
zhuli 2a71b8efe6 add api unit test
add api unit test to validate the accelerator_post function.

1. load a test app for pecan framework test
2. mock out the accelerator_create function in Conductor RPCAPI
3. post test request to '/accelerators' endpoint
4. do the check between request and response

Change-Id: I5d565d0d7ed56c27555666e52e34f5fd67005dcf
2017-09-14 13:56:59 +08:00
..
v1 add api unit test 2017-09-14 13:56:59 +08:00
__init__.py Add Pecan/WSME framework for API 2017-07-21 10:00:04 +08:00
base.py Add Pecan/WSME framework for API 2017-07-21 10:00:04 +08:00
link.py add cyborg-api v1 & hooks 2017-08-17 09:03:27 +08:00
root.py add cyborg-api v1 & hooks 2017-08-17 09:03:27 +08:00