Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit84383ef

Browse files
committed
Minor changes
1 parent41048be commit84383ef

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

‎tests/fastAPI/app/main.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
user_name=os.getenv('LT_USERNAME')
1111
api_key=os.getenv('LT_ACCESS_KEY')
1212

13-
1413
app=FastAPI()
1514

1615
asyncdefget_lambdatest_all_builds(session):
@@ -51,4 +50,4 @@ async def fetch_sessions():
5150

5251
if__name__=="__main__":
5352
importuvicorn
54-
uvicorn.run(app,host="0.0.0.0",port=8000)
53+
uvicorn.run(app,host="0.0.0.0",port=8000)

‎tests/fastAPI/tests/test_main.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,5 +25,4 @@ async def test_fetch_sessions():
2525
assertresponse.status_code==200
2626
data=response.json()
2727
assert"session_names"indata
28-
assertisinstance(data["session_names"],list)
29-
28+
assertisinstance(data["session_names"],list)

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp