imported module ‘test_room’ has this __file__ attributes which is not the same as the test file we want to collect:
Flaskのプロジェクトでテストを書いていたら、なぜかタイトルのエラーが発生問題点は各ディレクトリに __init__.py ファイルがないことで、各ディレクトリに追加することで解消できました!こちら...
Flaskのプロジェクトでテストを書いていたら、なぜかタイトルのエラーが発生問題点は各ディレクトリに __init__.py ファイルがないことで、各ディレクトリに追加することで解消できました!こちら...
strictをFalseにしたら解決できましたjson.loads(FIREBASE_KEYFILE_JSON, strict=False)参考記事python で json.loads() したとき...
e2eテストでfirebase authをcircleci上で再現したく、なかなか苦労したのでメモに残しておきますcircleciの環境変数にkeyとvalueを追加valueはbase64にエンコー...
https://github.com/tiangolo/fastapi/issues/1273https://fastapi.tiangolo.com/advanced/async-tests/htt...
# メール機能部分import osfrom fastapi_mail import FastMail, MessageSchema, ConnectionConfigfrom pydantic im...
from fastapi import FastAPIfrom starlette.middleware.cors import CORSMiddleware # 追加app = FastAPI()#...
とりあえずproject/alembic/env.py の中身sqlalchemyのmodelを継承して作成したmodelのファイルをimportして設定してあげることが必要なので、下記のようにpat...
FastAPIのOAuthのチュートリアルに従いながらコード実装していたところタイトルのエラー発生pwd_context.hash(password.encode('utf8'))とかを試したけど、一...