]> git.openstreetmap.org Git - nominatim.git/blobdiff - test/python/cursor.py
make word count computation part of the import
[nominatim.git] / test / python / cursor.py
index 9b8ff83b1af9a300efebe9dea2169419be42b759..46069020b1cc07ba05ac6ef3d6535e502bbc4e50 100644 (file)
@@ -3,7 +3,7 @@ Specialised psycopg2 cursor with shortcut functions useful for testing.
 """
 import psycopg2.extras
 
-class TestingCursor(psycopg2.extras.DictCursor):
+class CursorForTesting(psycopg2.extras.DictCursor):
     """ Extension to the DictCursor class that provides execution
         short-cuts that simplify writing assertions.
     """