Pytest hangs on testing database

后端 未结 0 636
Happy的楠姐
Happy的楠姐 2021-01-23 18:57

I\'m using Pytest to test connection to database which hangs when I run it:

def test_db():
    db.create_all()
    new_comment = Comments(comment=\'python rocks\'         


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