Changeset 928 for trunk


Ignore:
Timestamp:
Jan 22, 2018, 3:55:50 AM (18 months ago)
Author:
cito
Message:

Adapt tests for Postgres 10

Location:
trunk/tests
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/test_classic_connection.py

    r923 r928  
    164164        server_version = self.connection.server_version
    165165        self.assertIsInstance(server_version, int)
    166         self.assertTrue(70400 <= server_version < 100000)
     166        self.assertTrue(90000 <= server_version < 110000)
    167167
    168168    def testAttributeStatus(self):
  • trunk/tests/test_classic_dbwrapper.py

    r927 r928  
    275275        server_version = self.db.server_version
    276276        self.assertIsInstance(server_version, int)
    277         self.assertTrue(70400 <= server_version < 100000)
     277        self.assertTrue(90000 <= server_version < 110000)
    278278        self.assertEqual(server_version, self.db.db.server_version)
    279279
Note: See TracChangeset for help on using the changeset viewer.