mirror of
https://github.com/jwinterm/modoboa.git
synced 2026-10-21 06:18:45 +02:00
13 lines
243 B
Python
13 lines
243 B
Python
"""Dummy SMS backend."""
|
|
|
|
from . import SMSBackend
|
|
|
|
|
|
class DUMMYBackend(SMSBackend):
|
|
"""Dummy backend to use with tests."""
|
|
|
|
def send(self, text, recipients):
|
|
"""Print text on stdout."""
|
|
print(text)
|
|
return True
|