# File test.rb, line 117 def test_00_clean_sweep 4.times do @dbi.tables.each do |table| begin @dbi.do ("drop table " + @dummy.sql_quote_name(table)) rescue DBI::DatabaseError # nop end end @dbi.tables.reverse.each do |table| begin @dbi.do ("drop table " + @dummy.sql_quote_name(table)) rescue DBI::DatabaseError # nop end end end assert (@dbi.tables.empty?, "These tables are still here: " + @dbi.tables.join(", ")) end