Skip to content

Commit 9387a50

Browse files
committed
feat: add driver features to Psycopg sync and async event channel configurations
1 parent adf28b4 commit 9387a50

File tree

1 file changed

+2
-0
lines changed
  • tests/integration/test_adapters/test_psycopg/test_extensions

1 file changed

+2
-0
lines changed

tests/integration/test_adapters/test_psycopg/test_extensions/test_events.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ def test_psycopg_sync_event_channel_queue_fallback(tmp_path, postgres_service: P
2727
config = PsycopgSyncConfig(
2828
connection_config={"conninfo": _build_conninfo(postgres_service)},
2929
migration_config={"script_location": str(migrations_dir), "include_extensions": ["events"]},
30+
driver_features={"events_backend": "table_queue", "enable_events": True},
3031
)
3132

3233
commands = SyncMigrationCommands(config)
@@ -66,6 +67,7 @@ async def test_psycopg_async_event_channel_queue_fallback(tmp_path, postgres_ser
6667
config = PsycopgAsyncConfig(
6768
connection_config={"conninfo": _build_conninfo(postgres_service)},
6869
migration_config={"script_location": str(migrations_dir), "include_extensions": ["events"]},
70+
driver_features={"events_backend": "table_queue", "enable_events": True},
6971
)
7072

7173
commands = AsyncMigrationCommands(config)

0 commit comments

Comments
 (0)