[GRASS-SVN] r62572 - grass/trunk/vector/v.what/testsuite

svn_grass at osgeo.org svn_grass at osgeo.org
Mon Nov 3 07:16:30 PST 2014


Author: annakrat
Date: 2014-11-03 07:16:30 -0800 (Mon, 03 Nov 2014)
New Revision: 62572

Modified:
   grass/trunk/vector/v.what/testsuite/test_vwhat_layers.py
Log:
v.what: fix test by initializing db

Modified: grass/trunk/vector/v.what/testsuite/test_vwhat_layers.py
===================================================================
--- grass/trunk/vector/v.what/testsuite/test_vwhat_layers.py	2014-11-03 09:57:49 UTC (rev 62571)
+++ grass/trunk/vector/v.what/testsuite/test_vwhat_layers.py	2014-11-03 15:16:30 UTC (rev 62572)
@@ -118,6 +118,7 @@
     def setUpClass(cls):
         cls.runModule('v.in.ascii', input='./data/testing.ascii', output='test_vector',
                       format='standard')
+        cls.runModule('db.connect', flags='c')
         cls.runModule('db.in.ogr', dsn='./data/table1.csv', output='t1')
         cls.runModule('db.in.ogr', dsn='./data/table2.csv', output='t2')
         cls.runModule('v.db.connect', map='test_vector', table='t1', key='cat_', layer=1)



More information about the grass-commit mailing list