[GRASS-SVN] r74054 - grass/trunk/temporal/t.connect/testsuite

svn_grass at osgeo.org svn_grass at osgeo.org
Mon Feb 4 14:07:23 PST 2019


Author: sbl
Date: 2019-02-04 14:07:22 -0800 (Mon, 04 Feb 2019)
New Revision: 74054

Modified:
   grass/trunk/temporal/t.connect/testsuite/test_distr_tgis_db_raster.py
   grass/trunk/temporal/t.connect/testsuite/test_distr_tgis_db_raster3d.py
   grass/trunk/temporal/t.connect/testsuite/test_distr_tgis_db_vector.py
Log:
t.connect testsuite; fix info quotes; see #3746

Modified: grass/trunk/temporal/t.connect/testsuite/test_distr_tgis_db_raster.py
===================================================================
--- grass/trunk/temporal/t.connect/testsuite/test_distr_tgis_db_raster.py	2019-02-01 22:46:32 UTC (rev 74053)
+++ grass/trunk/temporal/t.connect/testsuite/test_distr_tgis_db_raster.py	2019-02-04 22:07:22 UTC (rev 74054)
@@ -180,9 +180,9 @@
         tinfo_string = """id=A at test1
                                     name=A
                                     mapset=test1
-                                    start_time=2001-01-01 00:00:00
-                                    end_time=2001-04-01 00:00:00
-                                    granularity=1 month"""
+                                    start_time='2001-01-01 00:00:00'
+                                    end_time='2001-04-01 00:00:00'
+                                    granularity='1 month'"""
 
         info = SimpleModule("t.info", flags="g", input="A at test1")
         self.assertModuleKeyValue(
@@ -192,9 +192,9 @@
         tinfo_string = """id=A at test2
                                     name=A
                                     mapset=test2
-                                    start_time=2001-01-01 00:00:00
-                                    end_time=2001-07-01 00:00:00
-                                    granularity=2 months"""
+                                    start_time='2001-01-01 00:00:00'
+                                    end_time='2001-07-01 00:00:00'
+                                    granularity='2 months'"""
 
         info = SimpleModule("t.info", flags="g", input="A at test2")
         self.assertModuleKeyValue(
@@ -204,9 +204,9 @@
         tinfo_string = """id=A at test3
                                     name=A
                                     mapset=test3
-                                    start_time=2001-01-01 00:00:00
-                                    end_time=2001-10-01 00:00:00
-                                    granularity=3 months"""
+                                    start_time='2001-01-01 00:00:00'
+                                    end_time='2001-10-01 00:00:00'
+                                    granularity='3 months'"""
 
         info = SimpleModule("t.info", flags="g", input="A at test3")
         self.assertModuleKeyValue(
@@ -216,9 +216,9 @@
         tinfo_string = """id=A at test4
                                     name=A
                                     mapset=test4
-                                    start_time=2001-01-01 00:00:00
-                                    end_time=2002-01-01 00:00:00
-                                    granularity=4 months"""
+                                    start_time='2001-01-01 00:00:00'
+                                    end_time='2002-01-01 00:00:00'
+                                    granularity='4 months'"""
 
         info = SimpleModule("t.info", flags="g", input="A at test4")
         self.assertModuleKeyValue(
@@ -227,9 +227,9 @@
         tinfo_string = """id=A at test5
                                     name=A
                                     mapset=test5
-                                    start_time=2001-01-01 00:00:00
-                                    end_time=2002-04-01 00:00:00
-                                    granularity=5 months"""
+                                    start_time='2001-01-01 00:00:00'
+                                    end_time='2002-04-01 00:00:00'
+                                    granularity='5 months'"""
 
         info = SimpleModule("t.info", flags="g", input="A at test5")
         self.assertModuleKeyValue(
@@ -241,8 +241,8 @@
                                 name=a1
                                 mapset=test1
                                 temporal_type=absolute
-                                start_time=2001-01-01 00:00:00
-                                end_time=2001-02-01 00:00:00 """
+                                start_time='2001-01-01 00:00:00'
+                                end_time='2001-02-01 00:00:00'"""
 
         info = SimpleModule(
             "t.info", flags="g", type="raster", input="a1 at test1")
@@ -253,8 +253,8 @@
                                 name=a1
                                 mapset=test2
                                 temporal_type=absolute
-                                start_time=2001-01-01 00:00:00
-                                end_time=2001-03-01 00:00:00 """
+                                start_time='2001-01-01 00:00:00'
+                                end_time='2001-03-01 00:00:00'"""
 
         info = SimpleModule(
             "t.info", flags="g", type="raster", input="a1 at test2")
@@ -265,8 +265,8 @@
                                 name=a1
                                 mapset=test3
                                 temporal_type=absolute
-                                start_time=2001-01-01 00:00:00
-                                end_time=2001-04-01 00:00:00 """
+                                start_time='2001-01-01 00:00:00'
+                                end_time='2001-04-01 00:00:00'"""
 
         info = SimpleModule(
             "t.info", flags="g", type="raster", input="a1 at test3")
@@ -277,8 +277,8 @@
                                 name=a1
                                 mapset=test4
                                 temporal_type=absolute
-                                start_time=2001-01-01 00:00:00
-                                end_time=2001-05-01 00:00:00 """
+                                start_time='2001-01-01 00:00:00'
+                                end_time='2001-05-01 00:00:00'"""
 
         info = SimpleModule(
             "t.info", flags="g", type="raster", input="a1 at test4")
@@ -289,8 +289,8 @@
                                 name=a1
                                 mapset=test5
                                 temporal_type=absolute
-                                start_time=2001-01-01 00:00:00
-                                end_time=2001-06-01 00:00:00 """
+                                start_time='2001-01-01 00:00:00'
+                                end_time='2001-06-01 00:00:00'"""
 
         info = SimpleModule(
             "t.info", flags="g", type="raster", input="a1 at test5")

Modified: grass/trunk/temporal/t.connect/testsuite/test_distr_tgis_db_raster3d.py
===================================================================
--- grass/trunk/temporal/t.connect/testsuite/test_distr_tgis_db_raster3d.py	2019-02-01 22:46:32 UTC (rev 74053)
+++ grass/trunk/temporal/t.connect/testsuite/test_distr_tgis_db_raster3d.py	2019-02-04 22:07:22 UTC (rev 74054)
@@ -167,9 +167,9 @@
         tinfo_string = """id=A at test3d1
                                     name=A
                                     mapset=test3d1
-                                    start_time=2001-01-01 00:00:00
-                                    end_time=2001-04-01 00:00:00
-                                    granularity=1 month"""
+                                    start_time='2001-01-01 00:00:00'
+                                    end_time='2001-04-01 00:00:00'
+                                    granularity='1 month'"""
 
         info = SimpleModule(
             "t.info", flags="g", type="str3ds", input="A at test3d1")
@@ -180,9 +180,9 @@
         tinfo_string = """id=A at test3d2
                                     name=A
                                     mapset=test3d2
-                                    start_time=2001-01-01 00:00:00
-                                    end_time=2001-07-01 00:00:00
-                                    granularity=2 months"""
+                                    start_time='2001-01-01 00:00:00'
+                                    end_time='2001-07-01 00:00:00'
+                                    granularity='2 months'"""
 
         info = SimpleModule(
             "t.info", flags="g", type="str3ds", input="A at test3d2")
@@ -193,9 +193,9 @@
         tinfo_string = """id=A at test3d3
                                     name=A
                                     mapset=test3d3
-                                    start_time=2001-01-01 00:00:00
-                                    end_time=2001-10-01 00:00:00
-                                    granularity=3 months"""
+                                    start_time='2001-01-01 00:00:00'
+                                    end_time='2001-10-01 00:00:00'
+                                    granularity='3 months'"""
 
         info = SimpleModule(
             "t.info", flags="g", type="str3ds", input="A at test3d3")
@@ -206,9 +206,9 @@
         tinfo_string = """id=A at test3d4
                                     name=A
                                     mapset=test3d4
-                                    start_time=2001-01-01 00:00:00
-                                    end_time=2002-01-01 00:00:00
-                                    granularity=4 months"""
+                                    start_time='2001-01-01 00:00:00'
+                                    end_time='2002-01-01 00:00:00'
+                                    granularity='4 months'"""
 
         info = SimpleModule(
             "t.info", flags="g", type="str3ds", input="A at test3d4")
@@ -221,8 +221,8 @@
                                 name=a1
                                 mapset=test3d1
                                 temporal_type=absolute
-                                start_time=2001-01-01 00:00:00
-                                end_time=2001-02-01 00:00:00 """
+                                start_time='2001-01-01 00:00:00'
+                                end_time='2001-02-01 00:00:00'"""
 
         info = SimpleModule(
             "t.info", flags="g", type="raster_3d", input="a1 at test3d1")
@@ -233,8 +233,8 @@
                                 name=a1
                                 mapset=test3d2
                                 temporal_type=absolute
-                                start_time=2001-01-01 00:00:00
-                                end_time=2001-03-01 00:00:00 """
+                                start_time='2001-01-01 00:00:00'
+                                end_time='2001-03-01 00:00:00'"""
 
         info = SimpleModule(
             "t.info", flags="g", type="raster_3d", input="a1 at test3d2")
@@ -245,8 +245,8 @@
                                 name=a1
                                 mapset=test3d3
                                 temporal_type=absolute
-                                start_time=2001-01-01 00:00:00
-                                end_time=2001-04-01 00:00:00 """
+                                start_time='2001-01-01 00:00:00'
+                                end_time='2001-04-01 00:00:00'"""
 
         info = SimpleModule(
             "t.info", flags="g", type="raster_3d", input="a1 at test3d3")
@@ -257,8 +257,8 @@
                                 name=a1
                                 mapset=test3d4
                                 temporal_type=absolute
-                                start_time=2001-01-01 00:00:00
-                                end_time=2001-05-01 00:00:00 """
+                                start_time='2001-01-01 00:00:00'
+                                end_time='2001-05-01 00:00:00'"""
 
         info = SimpleModule(
             "t.info", flags="g", type="raster_3d", input="a1 at test3d4")

Modified: grass/trunk/temporal/t.connect/testsuite/test_distr_tgis_db_vector.py
===================================================================
--- grass/trunk/temporal/t.connect/testsuite/test_distr_tgis_db_vector.py	2019-02-01 22:46:32 UTC (rev 74053)
+++ grass/trunk/temporal/t.connect/testsuite/test_distr_tgis_db_vector.py	2019-02-04 22:07:22 UTC (rev 74054)
@@ -175,9 +175,9 @@
         tinfo_string = """id=A at testvect1
                                     name=A
                                     mapset=testvect1
-                                    start_time=2001-01-01 00:00:00
-                                    end_time=2001-04-01 00:00:00
-                                    granularity=1 month"""
+                                    start_time='2001-01-01 00:00:00'
+                                    end_time='2001-04-01 00:00:00'
+                                    granularity='1 month'"""
 
         info = SimpleModule(
             "t.info", flags="g", type="stvds", input="A at testvect1")
@@ -188,9 +188,9 @@
         tinfo_string = """id=A at testvect2
                                     name=A
                                     mapset=testvect2
-                                    start_time=2001-01-01 00:00:00
-                                    end_time=2001-07-01 00:00:00
-                                    granularity=2 months"""
+                                    start_time='2001-01-01 00:00:00'
+                                    end_time='2001-07-01 00:00:00'
+                                    granularity='2 months'"""
 
         info = SimpleModule(
             "t.info", flags="g", type="stvds", input="A at testvect2")
@@ -201,9 +201,9 @@
         tinfo_string = """id=A at testvect3
                                     name=A
                                     mapset=testvect3
-                                    start_time=2001-01-01 00:00:00
-                                    end_time=2001-10-01 00:00:00
-                                    granularity=3 months"""
+                                    start_time='2001-01-01 00:00:00'
+                                    end_time='2001-10-01 00:00:00'
+                                    granularity='3 months'"""
 
         info = SimpleModule(
             "t.info", flags="g", type="stvds", input="A at testvect3")
@@ -214,9 +214,9 @@
         tinfo_string = """id=A at testvect4
                                     name=A
                                     mapset=testvect4
-                                    start_time=2001-01-01 00:00:00
-                                    end_time=2002-01-01 00:00:00
-                                    granularity=4 months"""
+                                    start_time='2001-01-01 00:00:00'
+                                    end_time='2002-01-01 00:00:00'
+                                    granularity='4 months'"""
 
         info = SimpleModule(
             "t.info", flags="g", type="stvds", input="A at testvect4")
@@ -229,8 +229,8 @@
                                 name=a1
                                 mapset=testvect1
                                 temporal_type=absolute
-                                start_time=2001-01-01 00:00:00
-                                end_time=2001-02-01 00:00:00 """
+                                start_time='2001-01-01 00:00:00'
+                                end_time='2001-02-01 00:00:00'"""
 
         info = SimpleModule(
             "t.info", flags="g", type="vector", input="a1 at testvect1")
@@ -241,8 +241,8 @@
                                 name=a1
                                 mapset=testvect2
                                 temporal_type=absolute
-                                start_time=2001-01-01 00:00:00
-                                end_time=2001-03-01 00:00:00 """
+                                start_time='2001-01-01 00:00:00'
+                                end_time='2001-03-01 00:00:00'"""
 
         info = SimpleModule(
             "t.info", flags="g", type="vector", input="a1 at testvect2")
@@ -253,8 +253,8 @@
                                 name=a1
                                 mapset=testvect3
                                 temporal_type=absolute
-                                start_time=2001-01-01 00:00:00
-                                end_time=2001-04-01 00:00:00 """
+                                start_time='2001-01-01 00:00:00'
+                                end_time='2001-04-01 00:00:00'"""
 
         info = SimpleModule(
             "t.info", flags="g", type="vector", input="a1 at testvect3")
@@ -265,8 +265,8 @@
                                 name=a1
                                 mapset=testvect4
                                 temporal_type=absolute
-                                start_time=2001-01-01 00:00:00
-                                end_time=2001-05-01 00:00:00 """
+                                start_time='2001-01-01 00:00:00'
+                                end_time='2001-05-01 00:00:00'"""
 
         info = SimpleModule(
             "t.info", flags="g", type="vector", input="a1 at testvect4")



More information about the grass-commit mailing list