CCI-MOC / flocx-market

2 stars 9 forks source link

test flask app #41

Closed DanNiESh closed 5 years ago

DanNiESh commented 5 years ago

test default values for wsgi service in api/service.py I only make a test for wsgi_server with default value. The current test may not be sufficient and needs more suggestions.

tzumainn commented 5 years ago

Hi! I think we may want to do something a little bit different. Take a look at what https://github.com/openstack/keystone/blob/master/keystone/tests/unit/core.py does in terms of setting up a test flask app to test against. I could imagine putting similar code in our tests/unit/api/base/ (other unit tests should not need this functionality), and testing against that app.