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