1 |
|
2003-11-19 Bernhard Herzog <[email protected]> |
2 |
|
|
3 |
|
* test/test_table.py: Revert to revision 1.5 again. Changing the |
4 |
|
tests to use the new table interface is completely wrong since the |
5 |
|
whole purpose of the tests in this module is to test the old |
6 |
|
interface. |
7 |
|
|
8 |
|
2003-11-18 Bernhard Herzog <[email protected]> |
9 |
|
|
10 |
|
* Thuban/Model/postgisdb.py (PostGISConnection.MatchesParameters): |
11 |
|
New. Test whether the connection matches a set of connection |
12 |
|
parameters |
13 |
|
|
14 |
|
* Thuban/UI/dbdialog.py (DBFrame.conns_changed): Fix doc-string |
15 |
|
(DBFrame.OnAdd): Use the new MatchesParameters method when looking |
16 |
|
for existing connections with the same parameters and break out of |
17 |
|
the loop correctly. |
18 |
|
|
19 |
|
* test/test_postgis_db.py (TestBriefDescription) |
20 |
|
(TestPostGISSimple.test_brief_description): Rename |
21 |
|
TestBriefDescription to TestPostGISSimple and the test method to |
22 |
|
test_brief_description so that we can add more test methods. |
23 |
|
(TestPostGISSimple.test_matches_parameters): New. Test the new |
24 |
|
MatchesParameters method |
25 |
|
|
26 |
2003-11-18 Bernhard Herzog <[email protected]> |
2003-11-18 Bernhard Herzog <[email protected]> |
27 |
|
|
28 |
* Thuban/Lib/connector.py (Publisher): Introdcue a new flag, |
* Thuban/Lib/connector.py (Publisher): Introduce a new flag, |
29 |
_was_destroyed, to indicate whether an publisher instance has |
_was_destroyed, to indicate whether an publisher instance has |
30 |
already been destroyed. |
already been destroyed. |
31 |
(Publisher.Unsubscribe): Only disconnect if the publisher has not |
(Publisher.Unsubscribe): Only disconnect if the publisher has not |