Commit 3754cb9
committed
test(spog): skip SPOG functional tests on pre-SPOG deps
Add a session-scoped autouse fixture that calls pytest.skip when either
the installed databricks-sdk or databricks-sql-connector pre-dates SPOG
support. The fixture short-circuits before any setup, so min-deps runs
(sdk 0.68.0 + connector 4.1.2) no longer attempt to open SPOG-decorated
connections that the floor stack can't honor.
Verified in the min-deps hatch env: all 3 SPOG tests skipped in 0.01s.1 parent bfb7cf2 commit 3754cb9
1 file changed
Lines changed: 13 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
7 | 11 | | |
8 | 12 | | |
9 | 13 | | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
10 | 23 | | |
11 | 24 | | |
12 | 25 | | |
| |||
0 commit comments