MCPcopy Create free account
hub / github.com/Freedium-cfd/web / setUpClass

Method setUpClass

database-lib/test.py:12–17  ·  view source on GitHub ↗
(cls)

Source from the content-addressed store, hash-verified

10
11 @classmethod
12 def setUpClass(cls):
13 cls.cache_backend = SQLiteCacheBackend(cls.test_db)
14 cls.cache_backend.init_db()
15 # cls.cache_backend.migrate_add_index_to_key()
16 cls.cache_backend.enable_zstd()
17 logger.debug(cls.cache_backend.show_schema_info())
18
19 @classmethod
20 def tearDownClass(cls):

Callers

nothing calls this directly

Calls 4

SQLiteCacheBackendClass · 0.85
enable_zstdMethod · 0.80
show_schema_infoMethod · 0.80
init_dbMethod · 0.45

Tested by

no test coverage detected