![]() |
The Gaudi Framework
v41r0 (bdbe7744)
|
Public Member Functions | |
| __init__ (self, subprocess.CompletedProcess completed_process, datetime start_time, datetime end_time, ProcessTimeoutError|ExceededStreamError|None run_exception, list[str] command, list[str] expanded_command, dict env, str cwd) | |
| elapsed_time (self) | |
| dict | to_dict (self) |
Static Public Member Functions | |
| format_value (value) | |
Public Attributes | |
| completed_process = completed_process | |
| start_time = start_time | |
| end_time = end_time | |
| run_exception = run_exception | |
| command = command | |
| expanded_command = expanded_command | |
| runtime_environment = env | |
| cwd = cwd | |
A class to encapsulate the results of a subprocess execution in a test fixture.
Definition at line 29 of file FixtureResult.py.
| GaudiTesting.FixtureResult.FixtureResult.__init__ | ( | self, | |
| subprocess.CompletedProcess | completed_process, | ||
| datetime | start_time, | ||
| datetime | end_time, | ||
| ProcessTimeoutError | ExceededStreamError | None | run_exception, | ||
| list[str] | command, | ||
| list[str] | expanded_command, | ||
| dict | env, | ||
| str | cwd ) |
Definition at line 34 of file FixtureResult.py.
| GaudiTesting.FixtureResult.FixtureResult.elapsed_time | ( | self | ) |
Definition at line 54 of file FixtureResult.py.
|
static |
Format a given value to a string representation.
Definition at line 58 of file FixtureResult.py.
| dict GaudiTesting.FixtureResult.FixtureResult.to_dict | ( | self | ) |
Convert the attributes of the FixtureResult into a dictionary.
Definition at line 68 of file FixtureResult.py.
| GaudiTesting.FixtureResult.FixtureResult.command = command |
Definition at line 49 of file FixtureResult.py.
| GaudiTesting.FixtureResult.FixtureResult.completed_process = completed_process |
Definition at line 45 of file FixtureResult.py.
| GaudiTesting.FixtureResult.FixtureResult.cwd = cwd |
Definition at line 52 of file FixtureResult.py.
| GaudiTesting.FixtureResult.FixtureResult.end_time = end_time |
Definition at line 47 of file FixtureResult.py.
| GaudiTesting.FixtureResult.FixtureResult.expanded_command = expanded_command |
Definition at line 50 of file FixtureResult.py.
| GaudiTesting.FixtureResult.FixtureResult.run_exception = run_exception |
Definition at line 48 of file FixtureResult.py.
| GaudiTesting.FixtureResult.FixtureResult.runtime_environment = env |
Definition at line 51 of file FixtureResult.py.
| GaudiTesting.FixtureResult.FixtureResult.start_time = start_time |
Definition at line 46 of file FixtureResult.py.