[PyGreSQL] PyGreSQL Commit r543 - branches/4.x/module

2015-11-18 Thread darcy
Author: cito Date: Wed Nov 18 13:15:47 2015 New Revision: 543 Log: Check against the configured host and port in tests Modified: branches/4.x/module/TEST_PyGreSQL_classic_connection.py branches/4.x/module/TEST_PyGreSQL_classic_dbwrapper.py Modified:

Re: [PyGreSQL] PyGreSQL Commit r543 - branches/4.x/module

2015-11-18 Thread D'Arcy J.M. Cain
On Wed, 18 Nov 2015 19:44:33 +0100 Christoph Zwerschke wrote: > But you can also set them to None to have the tests use the defaults > baked in PyGreSQL, like here: You're right. I guess we also need to test the port against -1. And that alerted me to this strange bit of code:

Re: [PyGreSQL] PyGreSQL Commit r543 - branches/4.x/module

2015-11-18 Thread Christoph Zwerschke
Am 18.11.2015 um 20:06 schrieb D'Arcy J.M. Cain: You're right. I guess we also need to test the port against -1. And that alerted me to this strange bit of code: self.assertEqual(self.connection.port, dbport or dbport) I'm