A plain simple Python http stub server inspired by https://github.com/dreamhead/moco
pip install stubilous
Tested on Python 2.7, 3.4 and 3.5 versions
---
server:
port: 80
host: localhost
routes:
- desc: A test route
method: GET
path: /test
body: Hello!
status: 200
- desc: Advanced route
method: GET
path: /test/<name>
body: Hello {{name}}!
status: 200
Launch python -m stubilous --config example.yaml