flask-SQLAlchemy create_all() doesn't create tables if called immediately after drop_all

前端 未结 0 342
北海茫月
北海茫月 2021-02-08 06:51

I\'m trying to write pytest fixture app that create all tables before test and drop all of them after finishing it.

@pytest.fixture
def          


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