Buckets:
AnonymousSpottedToad/candidate_bucket / codebase /python /Extralit_extralit /extralit-server /tests /unit /test_database.py
| import pytest | |
| from sqlalchemy.dialects import sqlite | |
| from sqlalchemy.ext.asyncio import AsyncSession | |
| from sqlalchemy.sql.expression import text | |
| class TestDatabase: | |
| async def test_sqlite_pragma_settings(self, db: AsyncSession): | |
| if db.bind.dialect.name != sqlite.dialect.name: | |
| return | |
| assert (await db.execute(text("PRAGMA foreign_keys"))).scalar() == 1 | |
Xet Storage Details
- Size:
- 407 Bytes
- Xet hash:
- 56a3f57b964e848cd0fd8c850c741a93be5b6721c4c2c3c4848a931cb838e6ac
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.