43
44
store.execute(table_query))
44
45
return 'version' in table_names
50
47
def _post_reset(self, store):
51
48
"""PostgreSQL-specific test suite cleanup.
53
50
Reset the <tablename>_id_seq.last_value so that primary key ids
54
51
restart from zero for new tests.
56
54
from mailman.database.model import ModelMeta
57
55
classes = sorted(ModelMeta._class_registry,
58
56
key=attrgetter('__storm_table__'))