Running installation tests

Mario Ruggier <[email protected]>
Newsgroups gmane.comp.python.db.pypgsql.user
Message-ID <[email protected]>
Hello,

am installing pyPgSQL 2.3, and seems to be all OK. When I try to run 
the tests (as a user
for whom there is a postgres user with the same name), i get the 
following error:

======================================================================
ERROR: CheckCloseConnection (__main__.PgSQLTestCases)
----------------------------------------------------------------------
Traceback (most recent call last):
   File "test/PgSQLTestCases.py", line 401, in setUp
     self.cnx = PgSQL.connect(database='template1')
   File "/usr/lib/python2.2/site-packages/pyPgSQL/PgSQL.py", line 2118, 
in connect
     return Connection(connInfo, client_encoding, unicode_results)
   File "/usr/lib/python2.2/site-packages/pyPgSQL/PgSQL.py", line 2215, 
in __init__
     raise DatabaseError, m
DatabaseError: fe_sendauth: no password supplied

and similar error foll all subsequent tests.

How do i supply him the password?

Many thanks, mario



-------------------------------------------------------
This SF.net email is sponsored by: Scholarships for Techies!
Can't afford IT training? All 2003 ictp students receive scholarships.
Get hands-on training in Microsoft, Cisco, Sun, Linux/UNIX, and more.
www.ictp.com/training/sourceforge.asp
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.