mirror of
https://github.com/wassname/optuna-dashboard.git
synced 2026-09-09 11:28:14 +08:00
Apply flake8
This commit is contained in:
@@ -294,7 +294,7 @@ class APITestCase(TestCase):
|
||||
# Check if the version 1 is deleted.
|
||||
assert study.system_attrs == {
|
||||
note_ver_key(0): request_body["version"],
|
||||
f"{note_str_key_prefix(0)}{0}": request_body["body"],
|
||||
f"{note_str_key_prefix(0)}{0}": request_body["body"],
|
||||
}
|
||||
|
||||
def test_save_trial_note(self) -> None:
|
||||
@@ -303,7 +303,7 @@ class APITestCase(TestCase):
|
||||
self.assertEqual(status, 204)
|
||||
assert study.system_attrs == {
|
||||
note_ver_key(0): request_body["version"],
|
||||
f"{note_str_key_prefix(0)}{0}": request_body["body"],
|
||||
f"{note_str_key_prefix(0)}{0}": request_body["body"],
|
||||
}
|
||||
|
||||
def test_save_trial_note_with_wrong_version(self) -> None:
|
||||
|
||||
Reference in New Issue
Block a user