DETAIL: Key (sns_login_id)=(1) is not present in table “social_login_platforms” while unit testing with Pytest

前端 未结 0 1918
庸人自扰
庸人自扰 2021-02-02 16:39

I have been trying to implement unit tests with a legacy codebase. So far, I have created simple fixture functions that create Country, User, SocialLoginPlatform objects. I use

相关标签:
回答
  • 消灭零回复
提交回复
热议问题