/[thuban]/branches/WIP-pyshapelib-bramz/ChangeLog
ViewVC logotype

Diff of /branches/WIP-pyshapelib-bramz/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1634 by bh, Fri Aug 22 16:04:27 2003 UTC revision 1635 by bh, Fri Aug 22 16:55:29 2003 UTC
# Line 1  Line 1 
1  2003-08-22  Bernhard Herzog  <[email protected]>  2003-08-22  Bernhard Herzog  <[email protected]>
2    
3            Prepare the test suite for tests with required authentication
4    
5            * test/postgissupport.py (PostgreSQLServer.__init__): Add instance
6            variables with two predefined users/passwords, one for the admin
7            and one for a non-privileged user.
8            (PostgreSQLServer.createdb): Pass the admin name to initdb and add
9            the non-privileged user to the database and set the admin password
10            (PostgreSQLServer.wait_for_postmaster): Use the admin user name.
11            Better error reporting
12            (PostgreSQLServer.connection_params)
13            (PostgreSQLServer.connection_string): New methods to return
14            information about how to connect to the server
15            (PostgreSQLServer.execute_sql): New. Convenience method to execute
16            SQL statements
17            (PostgreSQLServer.require_authentication): Toggle whether the
18            server requires authentication
19            (PostgreSQLServer.create_user, PostgreSQLServer.alter_user): New.
20            Add or alter users
21            (PostGISDatabase.initdb): Pass the admin name one the
22            subprocesses' command lines. Grant select rights on
23            geometry_columns to everybody.
24            (upload_shapefile): Use the admin name and password when
25            connecting. Grant select rights on the new table to everybody.
26    
27            * test/test_viewport.py (TestViewportWithPostGIS.setUp): Use the
28            server's new methods to get the connection parameters.
29    
30            * test/test_postgis_session.py (TestSessionWithPostGIS.setUp)
31            (TestSessionWithPostGIS.test_remove_dbconn_exception): Use the
32            server's new methods to get the connection parameters.
33    
34            * test/test_postgis_db.py
35            (TestPostGISConnection.test_gis_tables_empty)
36            (TestPostGISConnection.test_gis_tables_non_empty)
37            (PostGISStaticTests.setUp): Use the server's new methods to get
38            the connection parameters.
39    
40    2003-08-22  Bernhard Herzog  <[email protected]>
41    
42          * Thuban/UI/about.py (About.__init__): Add the psycopg version.          * Thuban/UI/about.py (About.__init__): Add the psycopg version.
43    
44          * Thuban/version.py: Add psycopg version          * Thuban/version.py: Add psycopg version

Legend:
Removed from v.1634  
changed lines
  Added in v.1635

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26