]> git.openstreetmap.org Git - nominatim.git/blobdiff - test/bdd/environment.py
add simple db update tests
[nominatim.git] / test / bdd / environment.py
index a954b2533010f283ef4a128a2687bb81ff49a95d..cf844f1e57a58e638f67a6c590314e9d32d9c45d 100644 (file)
@@ -125,6 +125,9 @@ class NominatimEnvironment(object):
     def run_setup_script(self, *args):
         self.run_nominatim_script('setup', *args)
 
+    def run_update_script(self, *args):
+        self.run_nominatim_script('update', *args)
+
     def run_nominatim_script(self, script, *args):
         cmd = [os.path.join(self.build_dir, 'utils', '%s.php' % script)]
         cmd.extend(['--%s' % x for x in args])