Fixture providing database connection, dialect and psycopg flag.
(db)
| 11 | |
| 12 | @pytest.fixture |
| 13 | def sql_context(db): |
| 14 | """Fixture providing database connection, dialect and psycopg flag.""" |
| 15 | db_conn = connections.get("models") |
| 16 | dialect = db_conn.schema_generator.DIALECT |
| 17 | is_psycopg = isinstance(db_conn, PsycopgClient) |
| 18 | return db_conn, dialect, is_psycopg |
| 19 | |
| 20 | |
| 21 | def test_filter(sql_context): |
nothing calls this directly
no test coverage detected
searching dependent graphs…