mirror of
https://github.com/wassname/optuna-dashboard.git
synced 2026-09-09 11:28:14 +08:00
Update python_tests/test_csv_download.py
Co-authored-by: Shuhei Watanabe <47781922+nabenabe0928@users.noreply.github.com>
This commit is contained in:
co-authored by
Shuhei Watanabe
parent
1e5d582572
commit
d7ff6f41f4
@@ -90,7 +90,10 @@ def test_download_csv_multi_obj(is_multi_obj: bool) -> None:
|
||||
study = optuna.create_study(storage=storage, directions=directions)
|
||||
optuna.logging.set_verbosity(optuna.logging.ERROR)
|
||||
study.optimize(objective, n_trials=10)
|
||||
_validate_output(storage, 200, 0)
|
||||
cols = ["Param x", "Param y"]
|
||||
cols += ["Objective 0", "Objective 1"] if is_multi_obj else ["Value"]
|
||||
_validate_output(storage, 200, 0, extra_col_names=cols)
|
||||
|
||||
|
||||
|
||||
def test_download_csv_user_attr() -> None:
|
||||
|
||||
Reference in New Issue
Block a user