Set up KuzuDB connection for all tests.
(cls)
| 77 | |
| 78 | @classmethod |
| 79 | def setUpClass(cls): |
| 80 | """Set up KuzuDB connection for all tests.""" |
| 81 | db = _get_kuzu_db() |
| 82 | if db is None: |
| 83 | raise unittest.SkipTest("KuzuDB is not available or failed to initialize") |
| 84 | cls.db = db |
| 85 | cls.driver = cls.db.get_driver() |
| 86 | cls.backend = cls.db.get_backend_type() |
| 87 | print(f"\n✓ Connected to: {cls.backend}") |
| 88 | |
| 89 | def test_01_backend_is_kuzudb(self): |
| 90 | """Verify we're using KuzuDB backend.""" |
nothing calls this directly
no test coverage detected