'Test that we restore target configuration with default file.'

@mock.patch.object(cinder_rtstool, 'rtslib_fb', **{'root.default_save_file': mock.sentinel.filename})
def test_restore(self, mock_rtslib):

    cinder_rtstool.restore_from_file(None)
    rtsroot = mock_rtslib.root.RTSRoot
    rtsroot.assert_called_once_with()
    rtsroot.return_value.restore_from_file.assert_called_once_with(mock.sentinel.filename)
