Hi everone!

First, thanks a lot for new release!

On Wednesday, July 26, 2017 6:33:57 PM CEST Christoph Zwerschke wrote:
> Ok, the 5.0.4 release is now on PyPI and the Windows binaries are also 
> at https://www.vex.net/~cito/distrib/

I've just tried to rebuild Fedora package; but the testsuite failed for me
with:

    ======================================================================
    FAIL: testAttributeHost (tests.test_classic_connection.TestConnectObject)
    ----------------------------------------------------------------------
    Traceback (most recent call last):
      File 
"/home/praiskup/rh/packages/PyGreSQL/fedora/PyGreSQL-5.0.4/tests/test_classic_connection.py",
 line 144, in testAttributeHost
        self.assertEqual(self.connection.host, dbhost or def_host)
    AssertionError: 'localhost' != '/tmp'
    - localhost
    + /tmp

Turns out there's probably a new test that checks that the testsuite runs
through localhost IP, but historically I used the 'psql -h /tmp' like connection
through socket.

I thought that I can use localhost + md5 authentication + random generated
password at build time; but it is not possible to specify password for admin and
for database owner for the testsuite purposes (yet?).

Since it is somewhat inconvenient to add 'trust' auth method for host type
connections (we built the packages in cloud), I'm here to ask what would
be the preferred testsuite fix?

Pavel

_______________________________________________
PyGreSQL mailing list
[email protected]
https://mail.vex.net/mailman/listinfo.cgi/pygresql

Reply via email to