(self, basic_key)
| 349 | assert layer_key.model_name == "test_model" |
| 350 | |
| 351 | def test_get_first_layer(self, basic_key): |
| 352 | first = basic_key.get_first_layer() |
| 353 | assert isinstance(first, LayerCacheEngineKey) |
| 354 | assert first.layer_id == 0 |
| 355 | assert first.model_name == basic_key.model_name |
| 356 | |
| 357 | def test_chunk_hash_hex(self, basic_key): |
| 358 | assert basic_key.chunk_hash_hex == "abcd" |
nothing calls this directly
no test coverage detected