Skip to content
Permalink
Browse files

More test updates

  • Loading branch information
nyalldawson committed May 15, 2020
1 parent 4854baf commit 00ec8df1e0616b4d186d388a8e69018d2286a17d
Showing with 2 additions and 12 deletions.
  1. +2 −12 tests/src/python/test_provider_postgres.py
@@ -122,13 +122,8 @@ def disableCompiler(self):
QgsSettings().setValue('/qgis/compileExpressions', False)

def uncompiledFilters(self):
return set(['"dt" <= make_datetime(2020, 5, 4, 12, 13, 14)',
'"dt" < make_date(2020, 5, 4)',
'"dt" = to_datetime(\'000www14ww13ww12www4ww5ww2020\',\'zzzwwwsswwmmwwhhwwwdwwMwwyyyy\')',
'"date" <= make_datetime(2020, 5, 4, 12, 13, 14)',
'"date" >= make_date(2020, 5, 4)',
return set(['"dt" = to_datetime(\'000www14ww13ww12www4ww5ww2020\',\'zzzwwwsswwmmwwhhwwwdwwMwwyyyy\')',
'"date" = to_date(\'www4ww5ww2020\',\'wwwdwwMwwyyyy\')',
'"time" >= make_time(12, 14, 14)',
'"time" = to_time(\'000www14ww13ww12www\',\'zzzwwwsswwmmwwhhwww\')'])

def partiallyCompiledFilters(self):
@@ -1986,13 +1981,8 @@ def disableCompiler(self):
QgsSettings().setValue('/qgis/compileExpressions', False)

def uncompiledFilters(self):
return set(['"dt" <= make_datetime(2020, 5, 4, 12, 13, 14)',
'"dt" < make_date(2020, 5, 4)',
'"dt" = to_datetime(\'000www14ww13ww12www4ww5ww2020\',\'zzzwwwsswwmmwwhhwwwdwwMwwyyyy\')',
'"date" <= make_datetime(2020, 5, 4, 12, 13, 14)',
'"date" >= make_date(2020, 5, 4)',
return set(['"dt" = to_datetime(\'000www14ww13ww12www4ww5ww2020\',\'zzzwwwsswwmmwwhhwwwdwwMwwyyyy\')',
'"date" = to_date(\'www4ww5ww2020\',\'wwwdwwMwwyyyy\')',
'"time" >= make_time(12, 14, 14)',
'"time" = to_time(\'000www14ww13ww12www\',\'zzzwwwsswwmmwwhhwww\')'])

def partiallyCompiledFilters(self):

0 comments on commit 00ec8df

Please sign in to comment.
You can’t perform that action at this time.