test_django.py 文件源码

python
阅读 21 收藏 0 点赞 0 评论 0

项目:deb-python-semantic-version 作者: openstack 项目源码 文件源码
def tearDownModule():
    if not django_loaded:  # pragma: no cover
        return
    runner = test_state['runner']
    runner_state = test_state['runner_state']
    runner.teardown_databases(runner_state)
    django_test_utils.teardown_test_environment()


# the refresh_from_db method only came in with 1.8, so in order to make this
# work will all supported versions we have our own function.
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号