def test_FileExistsIfTrue(self):
""" test the method that checks if the file exists """
with tempfile.TemporaryDirectory() as tmpdir:
with tempfile.TemporaryFile(dir=tmpdir) as fp:
actual = self.helper.FileExists(fp.name)
self.assertTrue(actual)
test_sqlite_plugin_helper.py 文件源码
python
阅读 26
收藏 0
点赞 0
评论 0
评论列表
文章目录