]> git.openstreetmap.org Git - nominatim.git/commitdiff
remove deleted us_state* tables from tests as well
authorSarah Hoffmann <lonvia@denofr.de>
Fri, 1 Apr 2016 20:57:45 +0000 (22:57 +0200)
committerSarah Hoffmann <lonvia@denofr.de>
Fri, 1 Apr 2016 20:59:54 +0000 (22:59 +0200)
tests/steps/terrain.py

index 312d76cf586cafaac8d09c2f806e2c3027886345..39fc662593c8d9f2fe78d34efc76300d1d418aca 100644 (file)
@@ -172,7 +172,7 @@ def db_template_setup():
     conn = psycopg2.connect(database=world.config.template_db)
     psycopg2.extras.register_hstore(conn, globally=False, unicode=True)
     cur = conn.cursor()
-    for table in ('gb_postcode', 'us_postcode', 'us_state', 'us_statecounty'):
+    for table in ('gb_postcode', 'us_postcode'):
         cur.execute('TRUNCATE TABLE %s' % (table,))
     conn.commit()
     conn.close()