diff options
author | Michael Stahl <mstahl@redhat.com> | 2014-10-22 16:35:33 +0200 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2014-10-22 16:50:46 +0200 |
commit | 6af967ae4c53b6ce90603338e4378620791fe3fc (patch) | |
tree | f55d3024d05cbf6d82489a238abc4faba51d4449 /dbaccess | |
parent | 87cb3a7c9609a298980e7384633aa383d69eca34 (diff) |
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
Diffstat (limited to 'dbaccess')
-rw-r--r-- | dbaccess/qa/python/fdo84315.py | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/dbaccess/qa/python/fdo84315.py b/dbaccess/qa/python/fdo84315.py index 06b2a6c0734e..0670f66ab3a6 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 |