def test_send_single_sms(self):
    mock_send_single = mock.create_autospec(send_single, return_value='results')
    mock_send_single('0831234567', 'Message.')
    mock_send_single.assert_called_once_with('0831234567', 'Message.')
    self.assertEqual(mock_send_single.call_count, 1)
def test_send_single_sms(self):
    mock_send_single = mock.create_autospec(send_single, return_value='results')
    mock_send_single('0831234567', 'Message.')
    mock_send_single.assert_called_once_with('0831234567', 'Message.')
    self.assertEqual(mock_send_single.call_count, 1)