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
462bc99b33
commit
678b15e60c
@@ -55,8 +55,8 @@ def test_download_csv_all_running() -> None:
|
||||
assert status == 200
|
||||
|
||||
|
||||
@pytest.mark.parametrize("id", [0, 1])
|
||||
def test_download_csv_fail(id: int) -> None:
|
||||
@pytest.mark.parametrize("study_id", [0, 1])
|
||||
def test_download_csv_fail(study_id: int) -> None:
|
||||
def objective(trial: optuna.Trial) -> float:
|
||||
x = trial.suggest_float("x", -100, 100)
|
||||
y = trial.suggest_categorical("y", [-1, 0, 1])
|
||||
|
||||
Reference in New Issue
Block a user