def METHOD_NAME(microbit):
    """
    Test that _update_view is called when a device disconnects
    """
    device_selector = mu.interface.main.DeviceSelector()
    device_selector._update_view = mock.MagicMock()
    device_selector.device_disconnected(microbit)
    device_selector._update_view.assert_called_once_with()