26292a58918ab42e1a135d4fe810c11ad5ed298a,tests/unittests/benchmark/test_benchmark_client.py,TestCreateBenchmark,test_create_benchmark_no_storage,#TestCreateBenchmark#Any#,37

Before Change


            with pytest.raises(SingletonNotInstantiatedError):
                get_storage()

            get_or_create_benchmark(
                "bm00001",
                algorithms=benchmark_algorithms,
                targets=[
                    {
                        "assess": [AverageResult(2), AverageRank(2)],
                        "task": [RosenBrock(25, dim=3), CarromTable(20)],
                    }
                ],
            )

            storage = get_storage()

            assert isinstance(storage, Legacy)

After Change


            with pytest.raises(SingletonNotInstantiatedError):
                get_storage()

            get_or_create_benchmark(**benchmark_config_py)

            storage = get_storage()

            assert isinstance(storage, Legacy)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 10

Instances


Project Name: Epistimio/orion
Commit Name: 26292a58918ab42e1a135d4fe810c11ad5ed298a
Time: 2021-02-04
Author: donglbj@cn.ibm.com
File Name: tests/unittests/benchmark/test_benchmark_client.py
Class Name: TestCreateBenchmark
Method Name: test_create_benchmark_no_storage


Project Name: Epistimio/orion
Commit Name: 26292a58918ab42e1a135d4fe810c11ad5ed298a
Time: 2021-02-04
Author: donglbj@cn.ibm.com
File Name: tests/unittests/benchmark/test_benchmark_client.py
Class Name: TestCreateBenchmark
Method Name: test_create_benchmark


Project Name: Epistimio/orion
Commit Name: 26292a58918ab42e1a135d4fe810c11ad5ed298a
Time: 2021-02-04
Author: donglbj@cn.ibm.com
File Name: tests/unittests/benchmark/test_benchmark_client.py
Class Name: TestCreateBenchmark
Method Name: test_create_benchmark_bad_storage


Project Name: Epistimio/orion
Commit Name: 26292a58918ab42e1a135d4fe810c11ad5ed298a
Time: 2021-02-04
Author: donglbj@cn.ibm.com
File Name: tests/unittests/benchmark/test_benchmark_client.py
Class Name: TestCreateBenchmark
Method Name: test_create_experiment_debug_mode