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

@mock.patch.object(cinder_rtstool, 'rtslib_fb')
def test_restore_with_file(self, mock_rtslib):

    cinder_rtstool.restore_from_file('saved_file')
    rtsroot = mock_rtslib.root.RTSRoot
    rtsroot.return_value.restore_from_file.assert_called_once_with('saved_file')
