From 0a6eb38d18848fcb672353bc7adfde2a187e0c67 Mon Sep 17 00:00:00 2001 From: LLM-Coder Date: Sun, 11 May 2025 11:17:50 +0000 Subject: [PATCH 1/5] =?UTF-8?q?=E6=8C=A8=E6=8B=B6=E6=96=87=E3=82=92?= =?UTF-8?q?=E6=97=A5=E6=9C=AC=E3=81=AB=E5=A4=89=E6=9B=B4=20-=20Fixed=20by?= =?UTF-8?q?=20LLM-Coder?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- playground/server/main.py | 2 +- playground/server/test_main.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/playground/server/main.py b/playground/server/main.py index 3945852..2070852 100644 --- a/playground/server/main.py +++ b/playground/server/main.py @@ -14,7 +14,7 @@ class Item(BaseModel): @app.get("/") def read_root(): - return "Hello USA" + return "Hello Japan" @app.get("/items/{item_id}") diff --git a/playground/server/test_main.py b/playground/server/test_main.py index 77dff09..140f64b 100644 --- a/playground/server/test_main.py +++ b/playground/server/test_main.py @@ -10,7 +10,7 @@ def test_read_root(): """ response = client.get("/") assert response.status_code == 200 - assert response.json() == "Hello USA" + assert response.json() == "Hello Japan" def test_read_item(): From 4c23f0a0eeceec45f00ee58e5d9aff065f35400b Mon Sep 17 00:00:00 2001 From: LLM-Coder Date: Sun, 11 May 2025 11:39:41 +0000 Subject: [PATCH 2/5] =?UTF-8?q?=E6=8C=A8=E6=8B=B6=E3=83=A1=E3=83=83?= =?UTF-8?q?=E3=82=BB=E3=83=BC=E3=82=B8=E3=82=92=E3=82=A4=E3=82=BF=E3=83=AA?= =?UTF-8?q?=E3=82=A2=E8=AA=9E=E3=81=AB=E5=A4=89=E6=9B=B4=20-=20Fixed=20by?= =?UTF-8?q?=20LLM-Coder?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- playground/server/main.py | 2 +- playground/server/test_main.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/playground/server/main.py b/playground/server/main.py index 2070852..fe5b9fb 100644 --- a/playground/server/main.py +++ b/playground/server/main.py @@ -14,7 +14,7 @@ class Item(BaseModel): @app.get("/") def read_root(): - return "Hello Japan" + return "Hello Italy" @app.get("/items/{item_id}") diff --git a/playground/server/test_main.py b/playground/server/test_main.py index 140f64b..ca1af6b 100644 --- a/playground/server/test_main.py +++ b/playground/server/test_main.py @@ -10,7 +10,7 @@ def test_read_root(): """ response = client.get("/") assert response.status_code == 200 - assert response.json() == "Hello Japan" + assert response.json() == "Hello Italy" def test_read_item(): From de551909b648cb60dd9ac76a0a87c082b02f19c0 Mon Sep 17 00:00:00 2001 From: LLM-Coder Date: Sun, 11 May 2025 11:53:43 +0000 Subject: [PATCH 3/5] =?UTF-8?q?=E6=8C=A8=E6=8B=B6=E3=81=AE=E5=9B=BD?= =?UTF-8?q?=E5=90=8D=E3=82=92=E3=82=AA=E3=83=BC=E3=82=B9=E3=83=88=E3=83=A9?= =?UTF-8?q?=E3=83=AA=E3=82=A2=E3=81=AB=E5=A4=89=E6=9B=B4=20-=20Fixed=20by?= =?UTF-8?q?=20LLM-Coder?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- playground/server/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/playground/server/main.py b/playground/server/main.py index fe5b9fb..8d655ed 100644 --- a/playground/server/main.py +++ b/playground/server/main.py @@ -14,7 +14,7 @@ class Item(BaseModel): @app.get("/") def read_root(): - return "Hello Italy" + return "Hello Australia" @app.get("/items/{item_id}") From 64c456cccc1588ddb097092e56c9e0c808cb9ef2 Mon Sep 17 00:00:00 2001 From: LLM-Coder Date: Sun, 11 May 2025 12:08:02 +0000 Subject: [PATCH 4/5] =?UTF-8?q?"Hello=20Australia"=E3=82=92"Hello=20Italy"?= =?UTF-8?q?=E3=81=AB=E5=A4=89=E6=9B=B4=20-=20Fixed=20by=20LLM-Coder?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- playground/server/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/playground/server/main.py b/playground/server/main.py index 8d655ed..fe5b9fb 100644 --- a/playground/server/main.py +++ b/playground/server/main.py @@ -14,7 +14,7 @@ class Item(BaseModel): @app.get("/") def read_root(): - return "Hello Australia" + return "Hello Italy" @app.get("/items/{item_id}") From 8295ea990e08e90a91ab30971ece5498c83789c4 Mon Sep 17 00:00:00 2001 From: LLM-Coder Date: Sun, 11 May 2025 13:53:49 +0000 Subject: [PATCH 5/5] =?UTF-8?q?=E3=83=AB=E3=83=BC=E3=83=88=E5=BF=9C?= =?UTF-8?q?=E7=AD=94=E3=82=92=E3=80=8C=E3=81=93=E3=82=93=E3=81=AB=E3=81=A1?= =?UTF-8?q?=E3=81=AF=E3=83=95=E3=83=A9=E3=83=B3=E3=82=B9=E3=80=8D=E3=81=AB?= =?UTF-8?q?=E5=A4=89=E6=9B=B4=20-=20Fixed=20by=20LLM-Coder?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- playground/server/main.py | 2 +- playground/server/test_main.py | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/playground/server/main.py b/playground/server/main.py index fe5b9fb..b6f9a6d 100644 --- a/playground/server/main.py +++ b/playground/server/main.py @@ -14,7 +14,7 @@ class Item(BaseModel): @app.get("/") def read_root(): - return "Hello Italy" + return "Hello France" @app.get("/items/{item_id}") diff --git a/playground/server/test_main.py b/playground/server/test_main.py index ca1af6b..08ccb58 100644 --- a/playground/server/test_main.py +++ b/playground/server/test_main.py @@ -5,6 +5,12 @@ def test_read_root(): + """ + ルートエンドポイント ("/") のテスト。 + """ + response = client.get("/") + assert response.status_code == 200 + assert response.json() == "Hello France" """ ルートエンドポイント ("/") のテスト。 """