[Libreoffice-commits] core.git: dbaccess/qa
Michael Stahl
mstahl at redhat.com
Wed Oct 22 07:55:45 PDT 2014
dbaccess/qa/python/fdo84315.py | 5 -----
1 file changed, 5 deletions(-)
New commits:
commit 6af967ae4c53b6ce90603338e4378620791fe3fc
Author: Michael Stahl <mstahl at redhat.com>
Date: Wed Oct 22 16:35:33 2014 +0200
Revert "PythonTest_dbaccess_python: don't modify source document"
This reverts commit 29474c7a227050b16fc341bdf7df68112793a23d.
Removing the lock file fails on Windows because it is opened; it ought
be possible to close the document instead to clean up the lock file?
Change-Id: I2c93fc893c62d6a267be9723761e5ed7577086a7
diff --git a/dbaccess/qa/python/fdo84315.py b/dbaccess/qa/python/fdo84315.py
index 06b2a6c..0670f66 100644
--- a/dbaccess/qa/python/fdo84315.py
+++ b/dbaccess/qa/python/fdo84315.py
@@ -7,10 +7,8 @@
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
#
-import os
import unittest
from collections import deque
-import unohelper
from org.libreoffice.unotest import UnoInProcess
class Fdo84315(unittest.TestCase):
@@ -25,10 +23,7 @@ class Fdo84315(unittest.TestCase):
@classmethod
def tearDownClass(cls):
- # Closing the connection properly would modify the source document for some reason.
- lock = unohelper.fileUrlToSystemPath(cls._xDoc.URL) + ".lck"
cls._uno.tearDown()
- os.remove(lock)
def test_fdo84315(self):
xDoc = self.__class__._xDoc
More information about the Libreoffice-commits
mailing list