Skip to content

Commit

Permalink
fix native types test
Browse files Browse the repository at this point in the history
  • Loading branch information
troopa81 authored and nyalldawson committed Jan 29, 2021
1 parent 63cf0c9 commit e4b96c6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/src/python/test_qgsproviderconnection_base.py
Expand Up @@ -465,8 +465,8 @@ def test_native_types(self):
conn = md.createConnection(self.uri, {})
native_types = conn.nativeTypes()
names = [nt.mTypeName.lower() for nt in native_types]
self.assertTrue('integer' in names or 'decimal' in names, names)
self.assertTrue('string' in names or 'text' in names or 'nvarchar' in names, names)
self.assertTrue('integer' in names or 'decimal' in names or 'number' in names, names)
self.assertTrue('string' in names or 'text' in names or 'nvarchar' in names or 'varchar2' in names, names)

def testExecuteSqlCancel(self):
"""Test that feedback can cancel an executeSql query"""
Expand Down

0 comments on commit e4b96c6

Please sign in to comment.