html-testrunner 1.0.2
“A Test Runner in python, for Human Readable HTML Reports”
Calls Python os.getcwdTraverses to the next Python traceback
SHA-2561acb298399b0b034167f4e0765464ef14ac6c689a7ceeecef55af5264ebf3b9b
MaleculeH₂(DbF₂)
Evidence
309:19… te the report file in the given path. """
310 current_dir = os.getcwd()
311 dir_to = os.path.join(current_dir, 'reports', output)
312 if not os.path.exists(dir_to):
313 os.makedirs(dir_to)
314 path_file = os.path.join(dir_to, report_name)
315 with open(path_file, 'w') as report_file:
316 report_file.write(report)
317
318 def _exc_info_to_string(self, err, test):
319 """ Converts a sys.exc_info()-st …
⋯5 lines
331 # Skip test runner traceback levels
332 while tb and self._is_relevant_tb_level(tb):
333 tb = tb.tb_next
334
335 if exctype is test.failureException:
336 # Skip assert*() traceback levels
337 length = self._count_re …
1# -*- coding: utf-8 -*-
2from .runner import HTMLTestRunner
3
4
5__author__ = """Ordanis Sanchez Suero"""
6__email__ = 'ordanisanchez@gmail.com'
7__version__ = '1.0.2'
No evidence locations were recorded for this file. Raw result