def test_data_wizard_cancel():
    with patch('glue.dialogs.data_wizard.qt.data_wizard_dialog.GlueDataDialog') as mock:
        mock().load_data.return_value = []
        assert data_wizard() == []
Returns empty list if user cancel's dialog
dataset/ETHPy150Open glue-viz/glue/glue/dialogs/data_wizard/qt/tests/test_data_wizard.py/test_data_wizard_cancel