Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(1)  |  Call(1)  |  Derive(0)  |  Import(0)

src/p/o/portfoliyo-HEAD/portfoliyo/tests/sms/test_hook.py   portfoliyo(Download)
def test_track_sms():
    """Calls mixpanel.track with appropriate args."""
    phone = '+13216540987'
    with mock.patch('portfoliyo.mixpanel.track') as mock_track:
        hook.track_sms('event', phone, 'body', foo='bar')