CuriousLearner / django-phone-verify

A Django app to support phone number verification using security code / One-Time-Password (OTP) sent via SMS.
https://www.sanyamkhurana.com/django-phone-verify/
GNU General Public License v3.0
258 stars 61 forks source link

Create TestBackend #61

Open davidkircos opened 3 years ago

davidkircos commented 3 years ago

Create TestBackend

A simple backend that doesn't send any messages for testing.

CuriousLearner commented 2 years ago

Hey @davidkircos

What's the use-case you're trying to accomplish with this?

davidkircos commented 2 years ago

@CuriousLearner A simple backend that doesn't send any messages for running end-to-end tests.

CuriousLearner commented 2 years ago

Hey @davidkircos

We use mocking for tests to avoid any actual API calls. I'm not sure why we would still need this unless wanting something to print to the console.