From e2d401b8488556e8a611ef1fbaa7c32c89d001d3 Mon Sep 17 00:00:00 2001 From: misyaguziya <53165965+misyaguziya@users.noreply.github.com> Date: Mon, 6 Oct 2025 14:30:35 +0900 Subject: [PATCH] =?UTF-8?q?=E5=AE=9F=E8=A3=85=E6=BC=8F=E3=82=8C=E3=82=92?= =?UTF-8?q?=E4=BF=AE=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src-python/backend_test.py | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/src-python/backend_test.py b/src-python/backend_test.py index 6f1de883..54196ea1 100644 --- a/src-python/backend_test.py +++ b/src-python/backend_test.py @@ -368,6 +368,7 @@ class TestMainloop(): if expected_status == [401]: print(f"-> {Color.YELLOW}[SKIP]{Color.RESET} No test available for this endpoint: {endpoint}.") self.record_test_result(endpoint, None, None, expected_status) # テスト結果を記録 + success=True return success elif expected_status == [404]: print(f"-> {Color.RED}[ERROR]{Color.RESET} Unknown endpoint: {endpoint}.") @@ -474,6 +475,7 @@ class TestMainloop(): if expected_status == [401]: print(f"-> {Color.YELLOW}[SKIP]{Color.RESET} No test available for this endpoint: {endpoint}.") self.record_test_result(endpoint, None, None, expected_status) # テスト結果を記録 + success=True return success elif expected_status == [404]: print(f"-> {Color.RED}[ERROR]{Color.RESET} Unknown endpoint: {endpoint}.") @@ -669,11 +671,11 @@ if __name__ == "__main__": import traceback try: test = TestMainloop() - test.test_endpoints_on_off_all() - test.test_set_data_endpoints_all() - test.test_run_endpoints_all() - test.test_delete_data_endpoints_all() - # test.test_endpoints_all_random() + # test.test_endpoints_on_off_all() + # test.test_set_data_endpoints_all() + # test.test_run_endpoints_all() + # test.test_delete_data_endpoints_all() + test.test_endpoints_all_random() # test.test_endpoints_on_off_continuous() # test.test_endpoints_on_off_random() # test.test_endpoints_specific_random()