Coverage for mlos_bench/mlos_bench/tests/storage/exp_context_test.py: 100%
3 statements
« prev ^ index » next coverage.py v7.6.9, created at 2024-12-20 00:44 +0000
« prev ^ index » next coverage.py v7.6.9, created at 2024-12-20 00:44 +0000
1#
2# Copyright (c) Microsoft Corporation.
3# Licensed under the MIT License.
4#
5"""Unit tests for the storage subsystem."""
7from mlos_bench.storage.base_storage import Storage
10def test_exp_context(exp_storage: Storage.Experiment) -> None:
11 """Try to retrieve old experimental data from the empty storage."""
12 # pylint: disable=protected-access
13 assert exp_storage._in_context