[GRASS-SVN] r71856 - grass/trunk/db/db.columns/testsuite
svn_grass at osgeo.org
svn_grass at osgeo.org
Mon Nov 27 15:42:23 PST 2017
Author: annakrat
Date: 2017-11-27 15:42:23 -0800 (Mon, 27 Nov 2017)
New Revision: 71856
Modified:
grass/trunk/db/db.columns/testsuite/test_dbcolumns.py
Log:
db.columns: include db initialization in the test to fix it
Modified: grass/trunk/db/db.columns/testsuite/test_dbcolumns.py
===================================================================
--- grass/trunk/db/db.columns/testsuite/test_dbcolumns.py 2017-11-27 23:02:20 UTC (rev 71855)
+++ grass/trunk/db/db.columns/testsuite/test_dbcolumns.py 2017-11-27 23:42:23 UTC (rev 71856)
@@ -19,7 +19,11 @@
class TestDbColumns(TestCase):
invect = 'zipcodes'
mapset = '$GISDBASE/$LOCATION_NAME/PERMANENT/sqlite/sqlite.db'
-
+
+ @classmethod
+ def setUpClass(cls):
+ cls.runModule('db.connect', flags='c')
+
def test_dbcols(self):
cols = read_command('db.columns', table=self.invect,
database=self.mapset)
More information about the grass-commit
mailing list