def setUp(self):
# Get a random temporary file to use for testing
self.tmp_status_file = next(tempfile._get_candidate_names())
self.app.config['HEALTHCHECK_STATUS_FILE'] = self.tmp_status_file
super(HealthViewTestCaseMixin, self).setUp()
评论列表
文章目录