From f0f876596a1ad1e98d8016a0d03732a1566c3c98 Mon Sep 17 00:00:00 2001 From: nabenabe0928 Date: Wed, 22 Nov 2023 06:47:33 +0100 Subject: [PATCH] Apply flake8 --- python_tests/test_api.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/python_tests/test_api.py b/python_tests/test_api.py index 6c618816..1bae1872 100644 --- a/python_tests/test_api.py +++ b/python_tests/test_api.py @@ -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: