Coverage for mlos_bench/mlos_bench/tests/storage/conftest.py: 100%
12 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"""
6Export test fixtures for mlos_bench storage.
7"""
9import mlos_bench.tests.storage.sql.fixtures as sql_storage_fixtures
11# NOTE: For future storage implementation additions, we can refactor this to use
12# lazy_fixture and parameterize the tests across fixtures but keep the test code the
13# same.
15# Expose some of those as local names so they can be picked up as fixtures by pytest.
16storage = sql_storage_fixtures.storage
17exp_storage = sql_storage_fixtures.exp_storage
18exp_no_tunables_storage = sql_storage_fixtures.exp_no_tunables_storage
19mixed_numerics_exp_storage = sql_storage_fixtures.mixed_numerics_exp_storage
20exp_storage_with_trials = sql_storage_fixtures.exp_storage_with_trials
21exp_no_tunables_storage_with_trials = sql_storage_fixtures.exp_no_tunables_storage_with_trials
22mixed_numerics_exp_storage_with_trials = sql_storage_fixtures.mixed_numerics_exp_storage_with_trials
23exp_data = sql_storage_fixtures.exp_data
24exp_no_tunables_data = sql_storage_fixtures.exp_no_tunables_data
25mixed_numerics_exp_data = sql_storage_fixtures.mixed_numerics_exp_data