Commit 1f46187
Pin URL-governor plumbing end-to-end through the async DBAPI connect
The existing URL-query tests only assert that create_connect_args
builds the right kwargs dict — they don't invoke the aio DBAPI's
connect() factory, so a regression where aio.connect() silently drops
a kwarg (raising TypeError at engine-connect time) slipped past CI.
Add an end-to-end pin: resolve the URL through the dialect, feed the
resulting kwargs into DqliteDialect_aio.import_dbapi().connect(), and
assert the constructed AsyncConnection carries the expected governor
values. Pins the dialect→URL→DBAPI plumbing chain against silent drift.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent 52d00ab commit 1f46187
1 file changed
Lines changed: 27 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
127 | 127 | | |
128 | 128 | | |
129 | 129 | | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
130 | 157 | | |
131 | 158 | | |
132 | 159 | | |
| |||
0 commit comments