def METHOD_NAME():
    """
    Test that _update_view displays the connected icon when
    one device connected
    """
    device_selector = mu.interface.main.DeviceSelector()
    model = mock.MagicMock()
    model.data = mock.MagicMock(return_value="Tooltip text")
    device_selector.selector.model = mock.MagicMock(return_value=model)
    device_selector.selector.count = mock.MagicMock(return_value=1)
    device_selector.connection_status.setPixmap = mock.MagicMock()
    device_selector._update_view()
    device_selector.connection_status.setPixmap.assert_called_once_with(
        device_selector.connected_icon
    )