From: Daniele Varrazzo Date: Mon, 11 Sep 2023 22:15:11 +0000 (+0100) Subject: refactor(tests): rename test_cursor to test_cursor_common X-Git-Tag: pool-3.2.0~12^2~34 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=43b8b30be0308cb8a6846b024652ae0ae217657b;p=thirdparty%2Fpsycopg.git refactor(tests): rename test_cursor to test_cursor_common --- diff --git a/tests/test_cursor.py b/tests/test_cursor_common.py similarity index 99% rename from tests/test_cursor.py rename to tests/test_cursor_common.py index f459b4943..ccc6513d1 100644 --- a/tests/test_cursor.py +++ b/tests/test_cursor_common.py @@ -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. diff --git a/tests/test_cursor_async.py b/tests/test_cursor_common_async.py similarity index 100% rename from tests/test_cursor_async.py rename to tests/test_cursor_common_async.py diff --git a/tools/convert_async_to_sync.sh b/tools/convert_async_to_sync.sh index 8784817fa..82c25d2ef 100755 --- a/tools/convert_async_to_sync.sh +++ b/tools/convert_async_to_sync.sh @@ -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 \