calpoly-csai / api

Official API for the NIMBUS Voice Assistant accessible via HTTP REST protocol.
https://nimbus.api.calpolycsai.com/
GNU General Public License v3.0
9 stars 4 forks source link

Flask app new wakeword data endpoint tests #147

Closed Jason-Ku closed 4 years ago

Jason-Ku commented 4 years ago

What's New?

*Adds unit tests for the /new_data/wakeword endpoint. Figuring out how to unittest this in Python was a little strange, but now that this is done, the other endpoints should come much easier.

Type of change (pick-one)

How Has This Been Tested?

sh run_tests.sh image

We've hit a pretty nice goal: 60% overall coverage! image

Checklist (check-all-before-merge)

formatting help: - [x] means "checked' and - [ ] means "unchecked"