test_mongo_core.py 文件源码

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

项目:cachier 作者: shaypal5 项目源码 文件源码
def test_mongo_write_failure():
    """Testing MongoDB core handling of writing failure scenarios."""
    with pytest.raises(OperationFailure):
        val1 = _func_w_bad_mongo(1, 2)
        val2 = _func_w_bad_mongo(1, 2)
        assert val1 == val2
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号