def tearDown(self):
if Settings.file_new and CMT_TESTING_VAR not in os.environ.keys():
# If running tests without the custom runner, like with PyCharm, the file new of the TestResult class isn't
# used so call file new here
cmds.file(f=True, new=True)
评论列表
文章目录