Current Path: > > opt > cloudlinux > venv > lib64 > python3.11 > site-packages > tap
Operation : Linux premium131.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64 Software : Apache Server IP : 162.0.232.56 | Your IP: 216.73.216.111 Domains : 1034 Domain(s) Permission : [ 0755 ]
Name | Type | Size | Last Modified | Actions |
---|---|---|---|---|
__pycache__ | Directory | - | - | |
tests | Directory | - | - | |
__init__.py | File | 85 bytes | April 17 2025 13:10:58. | |
__main__.py | File | 48 bytes | April 17 2025 13:10:58. | |
adapter.py | File | 1509 bytes | April 17 2025 13:10:58. | |
directive.py | File | 1791 bytes | April 17 2025 13:10:58. | |
formatter.py | File | 762 bytes | April 17 2025 13:10:58. | |
line.py | File | 4673 bytes | April 17 2025 13:10:58. | |
loader.py | File | 2943 bytes | April 17 2025 13:10:58. | |
main.py | File | 2124 bytes | April 17 2025 13:10:58. | |
parser.py | File | 6787 bytes | April 17 2025 13:10:58. | |
rules.py | File | 3378 bytes | April 17 2025 13:10:58. | |
runner.py | File | 5066 bytes | April 17 2025 13:10:58. | |
tracker.py | File | 7576 bytes | April 17 2025 13:10:58. |
class Adapter: """The adapter processes a TAP test line and updates a unittest result. It is an alternative to TestCase to collect TAP results. """ failureException = AssertionError def __init__(self, filename, line): self._filename = filename self._line = line def shortDescription(self): """Get the short description for verbeose results.""" return self._line.description def __call__(self, result): """Update test result with the lines in the TAP file. Provide the interface that TestCase provides to a suite or runner. """ result.startTest(self) if self._line.skip: result.addSkip(None, self._line.directive.reason) return if self._line.todo: if self._line.ok: result.addUnexpectedSuccess(self) else: result.addExpectedFailure(self, (Exception, Exception(), None)) return if self._line.ok: result.addSuccess(self) else: self.addFailure(result) def addFailure(self, result): """Add a failure to the result.""" result.addFailure(self, (Exception, Exception(), None)) # Since TAP will not provide assertion data, clean up the assertion # section so it is not so spaced out. test, err = result.failures[-1] result.failures[-1] = (test, "") def __repr__(self): return f"<file={self._filename}>"
SILENT KILLER Tool