[Libreoffice-commits] core.git: dbaccess/qa

Stephan Bergmann sbergman at redhat.com
Tue Feb 3 06:18:09 PST 2015


 dbaccess/qa/python/fdo84315.py |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

New commits:
commit 7dbf8384a9fb41743f4729ad1482a0d343e86fec
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Tue Feb 3 15:17:42 2015 +0100

    Fix PythonTest_dbaccess_python
    
    Change-Id: Id1ab4496c5a8fa5bf97ac00e57cb89afe82b232b

diff --git a/dbaccess/qa/python/fdo84315.py b/dbaccess/qa/python/fdo84315.py
index e3a98c1..e3e2fa3 100644
--- a/dbaccess/qa/python/fdo84315.py
+++ b/dbaccess/qa/python/fdo84315.py
@@ -27,7 +27,6 @@ class Fdo84315(unittest.TestCase):
     @classmethod
     def tearDownClass(cls):
         cls._uno.tearDown()
-        xCon.dispose()
 
     def test_fdo84315(self):
         xDoc = self.__class__._xDoc
@@ -71,5 +70,7 @@ class Fdo84315(unittest.TestCase):
             self.assertEqual(xResultset.getInt(1), expected_values.popleft())
         self.assertEqual(len(expected_values), 0)
 
+        xCon.dispose()
+
 if __name__ == '__main__':
     unittest.main()


More information about the Libreoffice-commits mailing list