OXIESEC PANEL
- Current Dir:
/
/
usr
/
lib
/
python3
/
dist-packages
/
twisted
/
trial
/
_dist
Server IP: 139.59.38.164
Upload:
Create Dir:
Name
Size
Modified
Perms
📁
..
-
03/31/2022 06:22:38 AM
rwxr-xr-x
📄
__init__.py
1.9 KB
09/08/2017 10:38:36 AM
rw-r--r--
📁
__pycache__
-
03/31/2022 06:22:40 AM
rwxr-xr-x
📄
distreporter.py
2.44 KB
09/08/2017 10:38:36 AM
rw-r--r--
📄
disttrial.py
8.51 KB
09/08/2017 10:38:36 AM
rw-r--r--
📄
managercommands.py
1.55 KB
09/08/2017 10:38:35 AM
rw-r--r--
📄
options.py
739 bytes
09/08/2017 10:38:36 AM
rw-r--r--
📁
test
-
03/31/2022 06:22:38 AM
rwxr-xr-x
📄
worker.py
9.21 KB
09/08/2017 10:38:36 AM
rw-r--r--
📄
workercommands.py
537 bytes
09/08/2017 10:38:36 AM
rw-r--r--
📄
workerreporter.py
5.44 KB
09/08/2017 10:38:36 AM
rw-r--r--
📄
workertrial.py
2.9 KB
09/08/2017 10:38:36 AM
rw-r--r--
Editing: managercommands.py
Close
# Copyright (c) Twisted Matrix Laboratories. # See LICENSE for details. """ Commands for reporting test success of failure to the manager. @since: 12.3 """ from twisted.protocols.amp import Command, String, Boolean, ListOf class AddSuccess(Command): """ Add a success. """ arguments = [(b'testName', String())] response = [(b'success', Boolean())] class AddError(Command): """ Add an error. """ arguments = [(b'testName', String()), (b'error', String()), (b'errorClass', String()), (b'frames', ListOf(String()))] response = [(b'success', Boolean())] class AddFailure(Command): """ Add a failure. """ arguments = [(b'testName', String()), (b'fail', String()), (b'failClass', String()), (b'frames', ListOf(String()))] response = [(b'success', Boolean())] class AddSkip(Command): """ Add a skip. """ arguments = [(b'testName', String()), (b'reason', String())] response = [(b'success', Boolean())] class AddExpectedFailure(Command): """ Add an expected failure. """ arguments = [(b'testName', String()), (b'error', String()), (b'todo', String())] response = [(b'success', Boolean())] class AddUnexpectedSuccess(Command): """ Add an unexpected success. """ arguments = [(b'testName', String()), (b'todo', String())] response = [(b'success', Boolean())] class TestWrite(Command): """ Write test log. """ arguments = [(b'out', String())] response = [(b'success', Boolean())]