def remove_layer(self, layer):
        self.select_layers(layer)
        QTest.mouseClick(self.widget.ui.layerRemoveButton, Qt.LeftButton)
Test driver param indices with shifted indices and force_fd=True
dataset/ETHPy150Open glue-viz/glue/glue/app/qt/tests/test_layer_tree_widget.py/TestLayerTree.remove_layer--crossover with--dataset/ETHPy150Open OpenMDAO/OpenMDAO/openmdao/drivers/test/test_driver_param_indices.py/TestParamIndicesPyoptsparse.test_driver_param_indices_force_fd_shift