def test_alert_helper_method_proxy_calls_ios_custom_message( self, mock_alert_ios): device_state.device_type = 'ios' alert(['foo']) self.assertTrue(mock_alert_ios.called_with('foo'))
def test_alert_helper_method_proxy_calls_ios(self, mock_alert_ios): device_state.device_type = 'ios' alert([]) self.assertTrue(mock_alert_ios.called_with('objection!'))