Changeset 959 for trunk


Ignore:
Timestamp:
Jan 4, 2019, 12:20:28 PM (7 months ago)
Author:
cito
Message:

Fix an issue with the parameter() method test

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/test_classic_connection.py

    r958 r959  
    276276        r = parameter('this server setting does not exist')
    277277        self.assertIsNone(r)
    278         s = query('show server_version').getresult()[0][0].upper()
     278        s = query('show server_version').getresult()[0][0]
    279279        self.assertIsNotNone(s)
    280280        r = parameter('server_version')
    281281        self.assertEqual(r, s)
    282         s = query('show server_encoding').getresult()[0][0].upper()
     282        s = query('show server_encoding').getresult()[0][0]
    283283        self.assertIsNotNone(s)
    284284        r = parameter('server_encoding')
    285285        self.assertEqual(r, s)
    286         s = query('show client_encoding').getresult()[0][0].upper()
     286        s = query('show client_encoding').getresult()[0][0]
    287287        self.assertIsNotNone(s)
    288288        r = parameter('client_encoding')
    289289        self.assertEqual(r, s)
    290         s = query('show server_encoding').getresult()[0][0].upper()
     290        s = query('show server_encoding').getresult()[0][0]
    291291        self.assertIsNotNone(s)
    292292        r = parameter('server_encoding')
Note: See TracChangeset for help on using the changeset viewer.