def test_save_session_cancel(self):
        self.app.save_session = MagicMock()
        with patch('glue.app.qt.application.QtGui.QFileDialog') as fd:
            fd.getSaveFileName.return_value = '', 'jnk'
            self.app._choose_save_session()
            assert self.app.save_session.call_count == 0
shouldnt try to save file if no file name provided
dataset/ETHPy150Open glue-viz/glue/glue/app/qt/tests/test_application.py/TestGlueApplication.test_save_session_cancel