Testing¶
Common testing support module¶
Common testing support module providing defaults, functions and mocks.
-
class
orion.testing.
MockDatetime
[source]¶ Fake Datetime
Methods
utcnow
()Return our random/fixed datetime
-
orion.testing.
create_experiment
(exp_config=None, trial_config=None, statuses=None)[source]¶ Context manager for the creation of an ExperimentClient and storage init
-
orion.testing.
generate_benchmark_experiments_trials
(benchmark_algorithms, experiment_config, trial_config, task_number, max_trial)[source]¶ Return a list of experiments and trials for a benchmark