1 |
# Copyright (c) 2002, 2003 by Intevation GmbH |
# Copyright (c) 2002, 2003, 2006 by Intevation GmbH |
2 |
# Authors: |
# Authors: |
3 |
# Bernhard Herzog <[email protected]> |
# Bernhard Herzog <[email protected]> |
4 |
# |
# |
43 |
self.transientdb.close() |
self.transientdb.close() |
44 |
|
|
45 |
def run_iceland_political_tests(self, table): |
def run_iceland_political_tests(self, table): |
46 |
"""Run some tests on tablte |
"""Run some tests on table |
47 |
|
|
48 |
Assume that table holds the data of the file |
Assume that table holds the data of the file |
49 |
../Data/iceland/political.dbf sample file. |
../Data/iceland/political.dbf sample file. |
136 |
# least one call to a method that copies to the transient db at |
# least one call to a method that copies to the transient db at |
137 |
# its end. |
# its end. |
138 |
self.run_iceland_political_tests(table) |
self.run_iceland_political_tests(table) |
139 |
|
# At this point the data has probably not been copied to the |
140 |
|
# transient DB yet, so we force it by calling the |
141 |
|
# transient_table method. |
142 |
|
table.transient_table() |
143 |
|
|
144 |
|
# Run the tests again. |
145 |
self.run_iceland_political_tests(table) |
self.run_iceland_political_tests(table) |
146 |
|
|
147 |
def test_auto_transient_table_query(self): |
def test_auto_transient_table_query(self): |