[GRASS-SVN] r71855 - grass/trunk/db/db.copy/testsuite
svn_grass at osgeo.org
svn_grass at osgeo.org
Mon Nov 27 15:02:20 PST 2017
Author: annakrat
Date: 2017-11-27 15:02:20 -0800 (Mon, 27 Nov 2017)
New Revision: 71855
Modified:
grass/trunk/db/db.copy/testsuite/test_dbcopy.py
Log:
db.copy: include db initialization in the test to fix it
Modified: grass/trunk/db/db.copy/testsuite/test_dbcopy.py
===================================================================
--- grass/trunk/db/db.copy/testsuite/test_dbcopy.py 2017-11-27 20:10:49 UTC (rev 71854)
+++ grass/trunk/db/db.copy/testsuite/test_dbcopy.py 2017-11-27 23:02:20 UTC (rev 71855)
@@ -9,6 +9,10 @@
outable = 'my_' + invect
@classmethod
+ def setUpClass(cls):
+ cls.runModule('db.connect', flags='c')
+
+ @classmethod
def tearDownClass(cls):
cls.runModule('db.droptable', table=cls.outable, flags='f',
database='$GISDBASE/$LOCATION_NAME/$MAPSET/sqlite/sqlite.db')
More information about the grass-commit
mailing list