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

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

src/h/e/helio-1.0.0b1/helio/viewstate/notification_tests.py   helio(Download)
 
        nc.queue_client_notification = MagicMock()
        nc.queue_load('test.controller')
        nc.queue_client_notification.assert_called_with('test.controller', 'load')
 
 
        nc.queue_client_notification = MagicMock()
        nc.queue_load('test.controller')
        nc.queue_client_notification.assert_called_with('load', 'test.controller')
 
 
        nc.queue_client_notification = MagicMock()
        nc.queue_load('test.controller', scroll_top=True)
        nc.queue_client_notification.assert_called_with('load:scroll_top', 'test.controller')