emxsys / callattendant

A python-based automated call attendant, call blocker, and voice messaging system running on a Raspberry Pi. Screens callers and block robocalls and scams with a low-cost Raspberry Pi and modem.
https://emxsys.github.io/callattendant/
MIT License
115 stars 37 forks source link

Need to mock the Modem class/object #81

Closed emxsys closed 4 years ago

emxsys commented 4 years ago

The Modem needs to be mocked so the unit tests can function if a modem isn't installed, for instance, when running on Travis CI.

emxsys commented 4 years ago

I setup continuous integration in GitHub actions and I skip the hardware tests when the CI environment variable is set to "true" (string).