Skip to content

Commit

Permalink
Comment method
Browse files Browse the repository at this point in the history
  • Loading branch information
elpaso committed Jul 6, 2021
1 parent fd793dc commit 7b202fe
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions tests/src/python/test_qgsproviderconnection_base.py
Expand Up @@ -72,6 +72,11 @@ def tearDownClass(cls):
def setUp(self):
QgsSettings().clear()

def treat_date_as_string(self):
"""Provider test case can override this to treat DATE type as STRING"""

return False

def getUniqueSchemaName(self, name):
"""This function must return a schema name with unique prefix/postfix,
if the tests are run simultaneously on the same machine by different CI instances"""
Expand Down Expand Up @@ -500,6 +505,3 @@ def _cancel():
QgsApplication.processEvents()
end = time.time()
self.assertTrue(end - start < 1)

def treat_date_as_string(self):
return False

0 comments on commit 7b202fe

Please sign in to comment.