]> git.ipfire.org Git - thirdparty/psycopg.git/commitdiff
refactor(tests): rename test_cursor to test_cursor_common
authorDaniele Varrazzo <daniele.varrazzo@gmail.com>
Mon, 11 Sep 2023 22:15:11 +0000 (23:15 +0100)
committerDaniele Varrazzo <daniele.varrazzo@gmail.com>
Wed, 11 Oct 2023 21:45:38 +0000 (23:45 +0200)
tests/test_cursor_common.py [moved from tests/test_cursor.py with 99% similarity]
tests/test_cursor_common_async.py [moved from tests/test_cursor_async.py with 100% similarity]
tools/convert_async_to_sync.sh

similarity index 99%
rename from tests/test_cursor.py
rename to tests/test_cursor_common.py
index f459b4943b323e83f8f8e175d9284c0333764cdb..ccc6513d16ade73dade5d51c35ec72b612f7beae 100644 (file)
@@ -1,5 +1,5 @@
 # WARNING: this file is auto-generated by 'async_to_sync.py'
-# from the original file 'test_cursor_async.py'
+# from the original file 'test_cursor_common_async.py'
 # DO NOT CHANGE! Change the original file instead.
 """
 Tests common to psycopg.Cursor and its subclasses.
index 8784817fa84da65e0c07b3ceb3338569b3de73f4..82c25d2efb18e23f8acc7bcbb296dd3b5f941055 100755 (executable)
@@ -26,7 +26,7 @@ for async in \
     tests/test_client_cursor_async.py \
     tests/test_connection_async.py \
     tests/test_copy_async.py \
-    tests/test_cursor_async.py \
+    tests/test_cursor_common_async.py \
     tests/test_default_cursor_async.py \
     tests/test_pipeline_async.py \
     tests/test_prepared_async.py \