Commit e8679567 authored by Duncan Macleod's avatar Duncan Macleod

alerts.tests: updated mocks

mainly to mock out getting the internal phone number list
parent 0ea86150
......@@ -295,6 +295,8 @@ class TestTwimlUrl(GraceDbTestBase, SupereventCreateMixin):
@mock.patch('alerts.phone.twilio_client.messages.create')
@mock.patch('alerts.phone.twilio_client.calls.create')
@mock.patch('alerts.phone.twilio_client.incoming_phone_numbers.list',
lambda: [mock.Mock()])
class TestPhoneCallAndText(GraceDbTestBase, SupereventCreateMixin):
@classmethod
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment