MCPcopy Create free account
hub / github.com/tortoise/tortoise-orm / test_dialect_postgres

Function test_dialect_postgres

tests/backends/test_capabilities.py:73–76  ·  view source on GitHub ↗

Test postgres dialect capability.

(db)

Source from the content-addressed store, hash-verified

71@requireCapability(dialect="postgres")
72@pytest.mark.asyncio
73async def test_dialect_postgres(db):
74 """Test postgres dialect capability."""
75 caps = connections.get("models").capabilities
76 assert caps.dialect == "postgres"

Callers

nothing calls this directly

Calls 1

getMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…