From ec5b4fdba862782a15879a213510d72887a67396 Mon Sep 17 00:00:00 2001 From: Sam Mirazi Date: Fri, 30 May 2025 22:26:45 -0700 Subject: [PATCH] file name updated --- .../flask_application.cpython-312.pyc | Bin 0 -> 938 bytes app_flask/{app.py => flask_application.py} | 0 ...t_flask_route.cpython-312-pytest-8.3.5.pyc | Bin 3026 -> 3040 bytes tests/test_flask_route.py | 4 ++-- 4 files changed, 2 insertions(+), 2 deletions(-) create mode 100644 app_flask/__pycache__/flask_application.cpython-312.pyc rename app_flask/{app.py => flask_application.py} (100%) diff --git a/app_flask/__pycache__/flask_application.cpython-312.pyc b/app_flask/__pycache__/flask_application.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..613afc6ff4382a5de44fe54c1ce7f6590c6ada55 GIT binary patch literal 938 zcmZuuO=}ZD7@pak&DZwBSP^TBt{%i(n%0U!6hRu=8n6_Lmt}F;W~VgCZf2dGSQ8Ys zw9p)jmj*=WRoWlmfACUE#j+Kw=%t<_xp{IXADDx)%(L&yJoCKI`_9L~!35yz@J(j* z7X;vkNP0`@2CYLL>;N0s&;c&gp)2VU6uIQcy4?OF9Z3K~tn6_WvGfRz6o)%;KiYDS zVWUm3*FDl>Sh1DTO#tY$9ns@6ld8oTe#z3S%ym*Q zjJX9Dv#N(va)=m@L&bM6_NcJN&ynEy!k6~v*-XZG>SO8~OO|V7v0q}uGnNWA))px# z;ym+>S<7b+7awUa{7yk*-pZFS)v}~W49oM(6)_T{jV8~XLf&EpQl9XtycTgW9pts5 zeEU~91mGu%ZROT;_2-+9k5w(mepN@dv%B|>)bs&Lw>SlaG1GLdLfJHH@u^#PCnotf zRrsLt{-djmd6{%Ngc<%ET;FFQ@(5+Ap-^dipkhw#W@%h#CD!orG9_!gO`%)1Tx^=5 z%$@GtCH4#)I4!H1-LNHD->Gc8a1~bL(^47aG}M O?lZd9OagSd?eH&0#Nh1! literal 0 HcmV?d00001 diff --git a/app_flask/app.py b/app_flask/flask_application.py similarity index 100% rename from app_flask/app.py rename to app_flask/flask_application.py diff --git a/tests/__pycache__/test_flask_route.cpython-312-pytest-8.3.5.pyc b/tests/__pycache__/test_flask_route.cpython-312-pytest-8.3.5.pyc index bab6036ddc123f863769bcf4cd2107a9ef8ffcde..c1722ee5ccde3ef84ffba700013ff44010e3b294 100644 GIT binary patch delta 72 zcmca4{y?1fG%qg~0}wo&WR=mkk(ZHCMmn*eAU-W8u{c`~OvVHGIho0cC7JnolVuop Wvv^!<4r6mh)>H&EY8*gvLWr_VX+N^wtqv diff --git a/tests/test_flask_route.py b/tests/test_flask_route.py index 0fc0aaf..0ab89a3 100644 --- a/tests/test_flask_route.py +++ b/tests/test_flask_route.py @@ -4,14 +4,14 @@ import subprocess, time, os, signal def start_server(): # Ensure the Python interpreter can find the app_flask module. # This might require adjusting PYTHONPATH or running pytest from the project root. - proc = subprocess.Popen(["python", "-m", "app_flask.app"]) # Removed cwd=".." + proc = subprocess.Popen(["python", "-m", "app_flask.flask_application"]) # Updated module name time.sleep(1) # Increased sleep to allow server startup, especially on slower systems return proc def test_home_returns_html(): proc = start_server() try: - r = httpx.get("http://127.0.0.1:5000/", timeout=10) + r = httpx.get("http://127.0.0.1:3000/", timeout=10) assert r.status_code == 200 assert "Hello from Flask :)" in r.text # Corrected assertion finally: -- 2.25.1