mirror of
https://github.com/wassname/optuna-dashboard.git
synced 2026-10-29 13:20:48 +08:00
Apply flake8
This commit is contained in:
1 parent
f2f5e36657
commit
f0f876596a
1 file changed
+2
-2
@@ -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