1 |
2003-08-19 Bernhard Herzog <[email protected]> |
2003-08-19 Bernhard Herzog <[email protected]> |
2 |
|
|
3 |
|
* test/test_viewport.py (ViewPortTest): We don't use the |
4 |
|
facilities of FileTestMixin so don't derive from it. |
5 |
|
(TestViewportWithPostGIS): New class with tests for using a |
6 |
|
viewport on a map with postgis layers. |
7 |
|
|
8 |
|
2003-08-19 Bernhard Herzog <[email protected]> |
9 |
|
|
10 |
|
Add the db connection management to the session. |
11 |
|
|
12 |
|
* Thuban/Model/session.py (Session.__init__): New instance |
13 |
|
variable db_connections |
14 |
|
(Session.AddDBConnection, Session.DBConnections) |
15 |
|
(Session.HasDBConnections, Session.CanRemoveDBConnection) |
16 |
|
(Session.RemoveDBConnection): New methods to manage and query the |
17 |
|
db connections managed by the session |
18 |
|
(Session.OpenDBShapeStore): New method to open a shapestore from a |
19 |
|
db connection |
20 |
|
|
21 |
|
* Thuban/Model/messages.py (DBCONN_REMOVED, DBCONN_ADDED): New |
22 |
|
messages for the db connection handling in the session |
23 |
|
|
24 |
|
* test/test_postgis_session.py: New. test cases for the session's |
25 |
|
db connection handling with postgis connections |
26 |
|
|
27 |
|
2003-08-19 Bernhard Herzog <[email protected]> |
28 |
|
|
29 |
Add very basic postgis database support and the corresponding test |
Add very basic postgis database support and the corresponding test |
30 |
cases. The test cases require a PostgreSQL + postgis installation |
cases. The test cases require a PostgreSQL + postgis installation |
31 |
but no existing database. The database will be created |
but no existing database. The database will be created |