10203 lines
591 KiB
JSON
10203 lines
591 KiB
JSON
{
|
|
"coverage_information": [
|
|
{
|
|
"branch_coverage": 100.0,
|
|
"filepath": "/home/dirk/work/unittest_collection/state_machine/pylibs/state_machine",
|
|
"files": [
|
|
{
|
|
"branch_coverage": 100.0,
|
|
"filepath": "/home/dirk/work/unittest_collection/state_machine/pylibs/state_machine/__init__.py",
|
|
"fragments": [
|
|
{
|
|
"coverage_state": "clean",
|
|
"end": 26,
|
|
"start": 1
|
|
},
|
|
{
|
|
"coverage_state": "covered",
|
|
"end": 27,
|
|
"start": 27
|
|
},
|
|
{
|
|
"coverage_state": "clean",
|
|
"end": 28,
|
|
"start": 28
|
|
},
|
|
{
|
|
"coverage_state": "covered",
|
|
"end": 30,
|
|
"start": 29
|
|
},
|
|
{
|
|
"coverage_state": "clean",
|
|
"end": 32,
|
|
"start": 31
|
|
},
|
|
{
|
|
"coverage_state": "covered",
|
|
"end": 37,
|
|
"start": 33
|
|
},
|
|
{
|
|
"coverage_state": "clean",
|
|
"end": 39,
|
|
"start": 38
|
|
},
|
|
{
|
|
"coverage_state": "covered",
|
|
"end": 43,
|
|
"start": 40
|
|
},
|
|
{
|
|
"coverage_state": "clean",
|
|
"end": 45,
|
|
"start": 44
|
|
},
|
|
{
|
|
"coverage_state": "covered",
|
|
"end": 46,
|
|
"start": 46
|
|
},
|
|
{
|
|
"coverage_state": "clean",
|
|
"end": 67,
|
|
"start": 47
|
|
},
|
|
{
|
|
"coverage_state": "covered",
|
|
"end": 69,
|
|
"start": 68
|
|
},
|
|
{
|
|
"coverage_state": "clean",
|
|
"end": 70,
|
|
"start": 70
|
|
},
|
|
{
|
|
"coverage_state": "covered",
|
|
"end": 80,
|
|
"start": 71
|
|
},
|
|
{
|
|
"coverage_state": "clean",
|
|
"end": 81,
|
|
"start": 81
|
|
},
|
|
{
|
|
"coverage_state": "covered",
|
|
"end": 82,
|
|
"start": 82
|
|
},
|
|
{
|
|
"coverage_state": "clean",
|
|
"end": 93,
|
|
"start": 83
|
|
},
|
|
{
|
|
"coverage_state": "covered",
|
|
"end": 99,
|
|
"start": 94
|
|
},
|
|
{
|
|
"coverage_state": "clean",
|
|
"end": 100,
|
|
"start": 100
|
|
},
|
|
{
|
|
"coverage_state": "covered",
|
|
"end": 101,
|
|
"start": 101
|
|
},
|
|
{
|
|
"coverage_state": "clean",
|
|
"end": 106,
|
|
"start": 102
|
|
},
|
|
{
|
|
"coverage_state": "covered",
|
|
"end": 107,
|
|
"start": 107
|
|
},
|
|
{
|
|
"coverage_state": "clean",
|
|
"end": 108,
|
|
"start": 108
|
|
},
|
|
{
|
|
"coverage_state": "covered",
|
|
"end": 109,
|
|
"start": 109
|
|
},
|
|
{
|
|
"coverage_state": "clean",
|
|
"end": 117,
|
|
"start": 110
|
|
},
|
|
{
|
|
"coverage_state": "covered",
|
|
"end": 118,
|
|
"start": 118
|
|
},
|
|
{
|
|
"coverage_state": "clean",
|
|
"end": 119,
|
|
"start": 119
|
|
},
|
|
{
|
|
"coverage_state": "covered",
|
|
"end": 120,
|
|
"start": 120
|
|
},
|
|
{
|
|
"coverage_state": "clean",
|
|
"end": 126,
|
|
"start": 121
|
|
},
|
|
{
|
|
"coverage_state": "covered",
|
|
"end": 127,
|
|
"start": 127
|
|
},
|
|
{
|
|
"coverage_state": "clean",
|
|
"end": 128,
|
|
"start": 128
|
|
},
|
|
{
|
|
"coverage_state": "covered",
|
|
"end": 129,
|
|
"start": 129
|
|
},
|
|
{
|
|
"coverage_state": "clean",
|
|
"end": 135,
|
|
"start": 130
|
|
},
|
|
{
|
|
"coverage_state": "covered",
|
|
"end": 136,
|
|
"start": 136
|
|
},
|
|
{
|
|
"coverage_state": "clean",
|
|
"end": 137,
|
|
"start": 137
|
|
},
|
|
{
|
|
"coverage_state": "covered",
|
|
"end": 138,
|
|
"start": 138
|
|
},
|
|
{
|
|
"coverage_state": "clean",
|
|
"end": 146,
|
|
"start": 139
|
|
},
|
|
{
|
|
"coverage_state": "covered",
|
|
"end": 147,
|
|
"start": 147
|
|
},
|
|
{
|
|
"coverage_state": "clean",
|
|
"end": 148,
|
|
"start": 148
|
|
},
|
|
{
|
|
"coverage_state": "covered",
|
|
"end": 149,
|
|
"start": 149
|
|
},
|
|
{
|
|
"coverage_state": "clean",
|
|
"end": 155,
|
|
"start": 150
|
|
},
|
|
{
|
|
"coverage_state": "covered",
|
|
"end": 156,
|
|
"start": 156
|
|
},
|
|
{
|
|
"coverage_state": "clean",
|
|
"end": 157,
|
|
"start": 157
|
|
},
|
|
{
|
|
"coverage_state": "covered",
|
|
"end": 158,
|
|
"start": 158
|
|
},
|
|
{
|
|
"coverage_state": "clean",
|
|
"end": 166,
|
|
"start": 159
|
|
},
|
|
{
|
|
"coverage_state": "covered",
|
|
"end": 167,
|
|
"start": 167
|
|
},
|
|
{
|
|
"coverage_state": "clean",
|
|
"end": 168,
|
|
"start": 168
|
|
},
|
|
{
|
|
"coverage_state": "covered",
|
|
"end": 169,
|
|
"start": 169
|
|
},
|
|
{
|
|
"coverage_state": "clean",
|
|
"end": 175,
|
|
"start": 170
|
|
},
|
|
{
|
|
"coverage_state": "covered",
|
|
"end": 176,
|
|
"start": 176
|
|
},
|
|
{
|
|
"coverage_state": "clean",
|
|
"end": 177,
|
|
"start": 177
|
|
},
|
|
{
|
|
"coverage_state": "covered",
|
|
"end": 183,
|
|
"start": 178
|
|
},
|
|
{
|
|
"coverage_state": "clean",
|
|
"end": 184,
|
|
"start": 184
|
|
},
|
|
{
|
|
"coverage_state": "covered",
|
|
"end": 189,
|
|
"start": 185
|
|
},
|
|
{
|
|
"coverage_state": "clean",
|
|
"end": 190,
|
|
"start": 190
|
|
},
|
|
{
|
|
"coverage_state": "covered",
|
|
"end": 195,
|
|
"start": 191
|
|
},
|
|
{
|
|
"coverage_state": "clean",
|
|
"end": 196,
|
|
"start": 196
|
|
},
|
|
{
|
|
"coverage_state": "covered",
|
|
"end": 197,
|
|
"start": 197
|
|
},
|
|
{
|
|
"coverage_state": "clean",
|
|
"end": 198,
|
|
"start": 198
|
|
},
|
|
{
|
|
"coverage_state": "covered",
|
|
"end": 201,
|
|
"start": 199
|
|
},
|
|
{
|
|
"coverage_state": "clean",
|
|
"end": 202,
|
|
"start": 202
|
|
},
|
|
{
|
|
"coverage_state": "covered",
|
|
"end": 203,
|
|
"start": 203
|
|
},
|
|
{
|
|
"coverage_state": "clean",
|
|
"end": 206,
|
|
"start": 204
|
|
},
|
|
{
|
|
"coverage_state": "covered",
|
|
"end": 218,
|
|
"start": 207
|
|
},
|
|
{
|
|
"coverage_state": "clean",
|
|
"end": 219,
|
|
"start": 219
|
|
},
|
|
{
|
|
"coverage_state": "covered",
|
|
"end": 224,
|
|
"start": 220
|
|
},
|
|
{
|
|
"coverage_state": "clean",
|
|
"end": null,
|
|
"start": 225
|
|
}
|
|
],
|
|
"line_coverage": 100.0,
|
|
"name": "state_machine.__init__.py"
|
|
}
|
|
],
|
|
"line_coverage": 100.0,
|
|
"name": "state_machine"
|
|
}
|
|
],
|
|
"lost_souls": {
|
|
"item_list": [],
|
|
"testcase_list": []
|
|
},
|
|
"specification": {
|
|
"entries": {
|
|
"REQ-0001": {
|
|
"description": "The state machine shall call all registered methods in the same order like the registration with all user given arguments for a defined set of \\emph{transition\\_condition} and \\emph{target\\_state}.",
|
|
"fitcriterion": "Methods are called in the registration order after state change with all user given arguments for the defined transition condition and targetstate and at least for one other condition not.",
|
|
"heading": "State change callback for a defined transition and targetstate",
|
|
"reason": "Triggering state change actions for a specific transition condition and targetstate."
|
|
},
|
|
"REQ-0002": {
|
|
"description": "The state machine shall call all registered methods in the same order like the registration with all user given arguments for a defined \\emph{transition\\_condition} and all \\emph{target\\_states}.",
|
|
"fitcriterion": "Methods are called in the registration order after state change with all user given arguments for the defined transition condition and at least for one other transition condition not.",
|
|
"heading": "State change callback for a defined transition",
|
|
"reason": "Triggering state change actions for a specific transition condition."
|
|
},
|
|
"REQ-0003": {
|
|
"description": "The state machine shall call all registered methods in the same order like the registration with all user given arguments for all \\emph{transition\\_conditions} and a defined \\emph{target\\_state}.",
|
|
"fitcriterion": "Methods are called in the registration order after state change with the defined targetstate and at least for one other targetstate not.",
|
|
"heading": "State change callback for a defined targetstate",
|
|
"reason": "Triggering state change actions for a specific targetstate."
|
|
},
|
|
"REQ-0004": {
|
|
"description": "The state machine shall call all registered methods in the same order like the registration with all user given arguments for all transitions.",
|
|
"fitcriterion": "Methods are called in the registration order after state change.",
|
|
"heading": "State change callback for all kind of state changes",
|
|
"reason": "Triggering state change actions for all transition conditions and targetstates."
|
|
},
|
|
"REQ-0005": {
|
|
"description": "The state machine shall start in the state, given while module initialisation.",
|
|
"fitcriterion": "State machine is in the initial state after initialisation.",
|
|
"heading": "Default State",
|
|
"reason": "Creation of a defined state after initialisation."
|
|
},
|
|
"REQ-0006": {
|
|
"description": "The state machine shall return the string {\\tt \\_\\_init\\_\\_} for last transition condition after initalisation.",
|
|
"fitcriterion": "The last transition condition is {\\tt \\_\\_init\\_\\_} after initialisation.",
|
|
"heading": "Default Last Transition Condtion",
|
|
"reason": "Creation of a defined state after initialisation."
|
|
},
|
|
"REQ-0007": {
|
|
"description": "The state machine shall return {\\tt None} for previous state after initalisation.",
|
|
"fitcriterion": "The previous state is {\\tt None} after initialisation.",
|
|
"heading": "Default Previous State",
|
|
"reason": "Creation of a defined state after initialisation."
|
|
},
|
|
"REQ-0008": {
|
|
"description": "The state machine shall store all given keyword arguments as variables of the classes instance.",
|
|
"fitcriterion": "At least two given keyword arguments with different types are available after initialisation.",
|
|
"heading": "Additional Keyword Arguments",
|
|
"reason": "Store further information (e.g. for calculation of the transition conditions)."
|
|
},
|
|
"REQ-0009": {
|
|
"description": "The Module shall have a method for getting the current state.",
|
|
"fitcriterion": "At least one returend state fits to the expecation.",
|
|
"heading": "This State",
|
|
"reason": "Comfortable user interface."
|
|
},
|
|
"REQ-0010": {
|
|
"description": "The Module shall have a method for checking if the given state is currently active.",
|
|
"fitcriterion": "At least two calls with different return values fit to the expectation.",
|
|
"heading": "This State is",
|
|
"reason": "Comfortable user interface."
|
|
},
|
|
"REQ-0011": {
|
|
"description": "The Module shall have a method for getting the time since the last state change appears.",
|
|
"fitcriterion": "At least one returned duration fits to the current state duration ($\\pm$ 0.05s).",
|
|
"heading": "This State Duration",
|
|
"reason": "Comfortable user interface."
|
|
},
|
|
"REQ-0012": {
|
|
"description": "The Module shall have a method for getting the last transition condition.",
|
|
"fitcriterion": "At least one returned transition condition fits to the expectation.",
|
|
"heading": "Last Transition Condition",
|
|
"reason": "Comfortable user interface."
|
|
},
|
|
"REQ-0013": {
|
|
"description": "The Module shall have a method for checking if the given condition was the last transition condition.",
|
|
"fitcriterion": "At least two calls with different return values fit to the expectation.",
|
|
"heading": "Last Transition Condition was",
|
|
"reason": "Comfortable user interface."
|
|
},
|
|
"REQ-0014": {
|
|
"description": "The Module shall have a method for getting the previous state.",
|
|
"fitcriterion": "At least one returend state fits to the expecation.",
|
|
"heading": "Previous State",
|
|
"reason": "Comfortable user interface."
|
|
},
|
|
"REQ-0015": {
|
|
"description": "The Module shall have a method for checking if the given state was the previous state.",
|
|
"fitcriterion": "At least two calls with different return values fit to the expectation.",
|
|
"heading": "Previous State was",
|
|
"reason": "Comfortable user interface."
|
|
},
|
|
"REQ-0016": {
|
|
"description": "The Module shall have a method for getting active time for the previous state.",
|
|
"fitcriterion": "At least one returned duration fits to the previous state duration ($\\pm$ 0.05s).",
|
|
"heading": "Previous State Duration",
|
|
"reason": "Comfortable user interface."
|
|
},
|
|
"REQ-0017": {
|
|
"description": "The user shall be able to define multiple states and transitions for the state machine. A transition shall have a start state, a target state and a transition condition. The transition condition shall be a method, where the user is able to calculate the condition on demand.",
|
|
"fitcriterion": "The order of at least three state changes is correct.",
|
|
"heading": "Transitiondefinition and -flow",
|
|
"reason": "Definition of the transitions for a state machine."
|
|
},
|
|
"REQ-0018": {
|
|
"description": "The user shall be able to define for each transition a transition time. On change of the transition condition to {\\tt True}, the transition timer starts counting the time from 0.0s. After reaching the transition time, the transition gets active.",
|
|
"fitcriterion": "The transition time and the restart of the transion timer by setting the transition condition to {\\tt False} and to {\\tt True} again results in the expected transition timing ($\\pm$0.05s).",
|
|
"heading": "Transitiontiming",
|
|
"reason": "Robustness of the state changes (e.g. Oscillating conditions shall be ignored)."
|
|
},
|
|
"REQ-0019": {
|
|
"description": "The state machine shall use the first active transition. If multiple transition are active, the transition with the highest overlap time will be used.",
|
|
"fitcriterion": "At least one transition with at least two active conditions results in the expected state change.",
|
|
"heading": "Transitionpriorisation",
|
|
"reason": "Compensate the weakness of the execution quantisation."
|
|
},
|
|
"REQ-0020": {
|
|
"description": "The callbacks shall be executed in the same order as they had been registered.",
|
|
"fitcriterion": "A callback with specific targetstate and condition will be executed before a non specific callback if the specific one had been regestered first.",
|
|
"heading": "Execution order of Callbacks",
|
|
"reason": "User shall have the control about the execution order."
|
|
},
|
|
"SEC-0001": {
|
|
"childs": [
|
|
"REQ-0005",
|
|
"REQ-0006",
|
|
"REQ-0007",
|
|
"REQ-0008"
|
|
],
|
|
"heading": "Module Initialisation"
|
|
},
|
|
"SEC-0002": {
|
|
"childs": [
|
|
"REQ-0017",
|
|
"REQ-0018",
|
|
"REQ-0019"
|
|
],
|
|
"heading": "Transition Changes"
|
|
},
|
|
"SEC-0003": {
|
|
"childs": [
|
|
"REQ-0009",
|
|
"REQ-0010",
|
|
"REQ-0011",
|
|
"REQ-0012",
|
|
"REQ-0013",
|
|
"REQ-0014",
|
|
"REQ-0015",
|
|
"REQ-0016"
|
|
],
|
|
"heading": "Module Interface"
|
|
},
|
|
"SEC-0004": {
|
|
"childs": [
|
|
"REQ-0001",
|
|
"REQ-0002",
|
|
"REQ-0003",
|
|
"REQ-0004",
|
|
"REQ-0020"
|
|
],
|
|
"heading": "Transition Callbacks"
|
|
}
|
|
},
|
|
"sections": [
|
|
"SEC-0001",
|
|
"SEC-0002",
|
|
"SEC-0003",
|
|
"SEC-0004"
|
|
],
|
|
"title": "Module state_machine"
|
|
},
|
|
"system_information": {
|
|
"Architecture": "64bit",
|
|
"Distribution": "Debian GNU/Linux 13 trixie",
|
|
"Hostname": "ahorn",
|
|
"Kernel": "6.12.38+deb13-amd64 (#1 SMP PREEMPT_DYNAMIC Debian 6.12.38-1 (2025-07-16))",
|
|
"Machine": "x86_64",
|
|
"Path": "/home/dirk/work/unittest_collection/state_machine",
|
|
"System": "Linux",
|
|
"Username": "dirk"
|
|
},
|
|
"testobject_information": {
|
|
"Dependencies": [],
|
|
"Description": "This Module helps implementing state machines.",
|
|
"Name": "state_machine",
|
|
"State": "Released",
|
|
"Supported Interpreters": "python3",
|
|
"Version": "6ba47253e81e9a0edcd7690c51c05d3d"
|
|
},
|
|
"testrun_list": [
|
|
{
|
|
"heading_dict": {},
|
|
"interpreter": "python 3.13.5 (final)",
|
|
"name": "Default Testsession name",
|
|
"number_of_failed_tests": 0,
|
|
"number_of_possibly_failed_tests": 0,
|
|
"number_of_successfull_tests": 20,
|
|
"number_of_tests": 20,
|
|
"testcase_execution_level": 90,
|
|
"testcase_names": {
|
|
"0": "Single Test",
|
|
"10": "Smoke Test (Minumum subset)",
|
|
"50": "Short Test (Subset)",
|
|
"90": "Full Test (all defined tests)"
|
|
},
|
|
"testcases": {
|
|
"REQ-0001": {
|
|
"args": null,
|
|
"asctime": "2025-08-14 22:47:20,098",
|
|
"created": 1755204440.098697,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "testCase",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 331,
|
|
"message": "REQ-0001",
|
|
"module": "__init__",
|
|
"moduleLogger": [],
|
|
"msecs": 98.0,
|
|
"msg": "REQ-0001",
|
|
"name": "__tLogger__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/report/__init__.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1697.409027,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"testcaseLogger": [
|
|
{
|
|
"args": [],
|
|
"asctime": "2025-08-14 22:47:20,101",
|
|
"created": 1755204440.1017697,
|
|
"exc_text": null,
|
|
"filename": "test_callbacks.py",
|
|
"funcName": "test_callbacks",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 58,
|
|
"message": "Running state machine sequence and storing sequence number for each callback",
|
|
"module": "test_callbacks",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"StateMachine:",
|
|
"'__init__'",
|
|
"None",
|
|
"'state_a'"
|
|
],
|
|
"asctime": "2025-08-14 22:47:20,099",
|
|
"created": 1755204440.0992482,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__set_state__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 179,
|
|
"message": "StateMachine: State change ('__init__'): None -> 'state_a'",
|
|
"module": "__init__",
|
|
"msecs": 99.0,
|
|
"msg": "%s State change (%s): %s -> %s",
|
|
"name": "state_machine",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/state_machine/__init__.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1697.960039,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
1
|
|
],
|
|
"asctime": "2025-08-14 22:47:20,099",
|
|
"created": 1755204440.099658,
|
|
"exc_text": null,
|
|
"filename": "test_callbacks.py",
|
|
"funcName": "test_callbacks",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 55,
|
|
"message": "Increasing sequence number to 1 caused by sequence progress",
|
|
"module": "test_callbacks",
|
|
"msecs": 99.0,
|
|
"msg": "Increasing sequence number to %d caused by sequence progress",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/tests/test_callbacks.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1698.370042,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"StateMachine:",
|
|
"'condition_a'",
|
|
"'state_a'",
|
|
"'state_b'"
|
|
],
|
|
"asctime": "2025-08-14 22:47:20,100",
|
|
"created": 1755204440.1002002,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__set_state__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 179,
|
|
"message": "StateMachine: State change ('condition_a'): 'state_a' -> 'state_b'",
|
|
"module": "__init__",
|
|
"msecs": 100.0,
|
|
"msg": "%s State change (%s): %s -> %s",
|
|
"name": "state_machine",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/state_machine/__init__.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1698.91224,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
0,
|
|
"tests.test_callbacks",
|
|
"exec_with_counter"
|
|
],
|
|
"asctime": "2025-08-14 22:47:20,100",
|
|
"created": 1755204440.100439,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__set_state__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 200,
|
|
"message": "Executing callback 0 - tests.test_callbacks.exec_with_counter",
|
|
"module": "__init__",
|
|
"msecs": 100.0,
|
|
"msg": "Executing callback %d - %s.%s",
|
|
"name": "state_machine",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/state_machine/__init__.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1699.151034,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
2
|
|
],
|
|
"asctime": "2025-08-14 22:47:20,100",
|
|
"created": 1755204440.1006732,
|
|
"exc_text": null,
|
|
"filename": "test_callbacks.py",
|
|
"funcName": "exec_with_counter",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 24,
|
|
"message": "Increasing sequence number to 2 caused by callback_execution",
|
|
"module": "test_callbacks",
|
|
"msecs": 100.0,
|
|
"msg": "Increasing sequence number to %d caused by callback_execution",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/tests/test_callbacks.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1699.385329,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
1,
|
|
"tests.test_callbacks",
|
|
"exec_with_counter"
|
|
],
|
|
"asctime": "2025-08-14 22:47:20,100",
|
|
"created": 1755204440.1008837,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__set_state__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 200,
|
|
"message": "Executing callback 1 - tests.test_callbacks.exec_with_counter",
|
|
"module": "__init__",
|
|
"msecs": 100.0,
|
|
"msg": "Executing callback %d - %s.%s",
|
|
"name": "state_machine",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/state_machine/__init__.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1699.59568,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
3
|
|
],
|
|
"asctime": "2025-08-14 22:47:20,101",
|
|
"created": 1755204440.1010945,
|
|
"exc_text": null,
|
|
"filename": "test_callbacks.py",
|
|
"funcName": "exec_with_counter",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 24,
|
|
"message": "Increasing sequence number to 3 caused by callback_execution",
|
|
"module": "test_callbacks",
|
|
"msecs": 101.0,
|
|
"msg": "Increasing sequence number to %d caused by callback_execution",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/tests/test_callbacks.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1699.806503,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
4
|
|
],
|
|
"asctime": "2025-08-14 22:47:20,101",
|
|
"created": 1755204440.1013136,
|
|
"exc_text": null,
|
|
"filename": "test_callbacks.py",
|
|
"funcName": "test_callbacks",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 55,
|
|
"message": "Increasing sequence number to 4 caused by sequence progress",
|
|
"module": "test_callbacks",
|
|
"msecs": 101.0,
|
|
"msg": "Increasing sequence number to %d caused by sequence progress",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/tests/test_callbacks.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1700.025515,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"StateMachine:",
|
|
"'condition_b'",
|
|
"'state_b'",
|
|
"'state_a'"
|
|
],
|
|
"asctime": "2025-08-14 22:47:20,101",
|
|
"created": 1755204440.1014714,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__set_state__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 179,
|
|
"message": "StateMachine: State change ('condition_b'): 'state_b' -> 'state_a'",
|
|
"module": "__init__",
|
|
"msecs": 101.0,
|
|
"msg": "%s State change (%s): %s -> %s",
|
|
"name": "state_machine",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/state_machine/__init__.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1700.183465,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
5
|
|
],
|
|
"asctime": "2025-08-14 22:47:20,101",
|
|
"created": 1755204440.1015298,
|
|
"exc_text": null,
|
|
"filename": "test_callbacks.py",
|
|
"funcName": "test_callbacks",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 55,
|
|
"message": "Increasing sequence number to 5 caused by sequence progress",
|
|
"module": "test_callbacks",
|
|
"msecs": 101.0,
|
|
"msg": "Increasing sequence number to %d caused by sequence progress",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/tests/test_callbacks.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1700.241814,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"StateMachine:",
|
|
"'condition_b'",
|
|
"'state_a'",
|
|
"'state_b'"
|
|
],
|
|
"asctime": "2025-08-14 22:47:20,101",
|
|
"created": 1755204440.1015968,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__set_state__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 179,
|
|
"message": "StateMachine: State change ('condition_b'): 'state_a' -> 'state_b'",
|
|
"module": "__init__",
|
|
"msecs": 101.0,
|
|
"msg": "%s State change (%s): %s -> %s",
|
|
"name": "state_machine",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/state_machine/__init__.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1700.308919,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
6
|
|
],
|
|
"asctime": "2025-08-14 22:47:20,101",
|
|
"created": 1755204440.1016524,
|
|
"exc_text": null,
|
|
"filename": "test_callbacks.py",
|
|
"funcName": "test_callbacks",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 55,
|
|
"message": "Increasing sequence number to 6 caused by sequence progress",
|
|
"module": "test_callbacks",
|
|
"msecs": 101.0,
|
|
"msg": "Increasing sequence number to %d caused by sequence progress",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/tests/test_callbacks.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1700.364578,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"StateMachine:",
|
|
"'condition_c'",
|
|
"'state_b'",
|
|
"'state_c'"
|
|
],
|
|
"asctime": "2025-08-14 22:47:20,101",
|
|
"created": 1755204440.101715,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__set_state__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 179,
|
|
"message": "StateMachine: State change ('condition_c'): 'state_b' -> 'state_c'",
|
|
"module": "__init__",
|
|
"msecs": 101.0,
|
|
"msg": "%s State change (%s): %s -> %s",
|
|
"name": "state_machine",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/state_machine/__init__.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1700.427201,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 101.0,
|
|
"msg": "Running state machine sequence and storing sequence number for each callback",
|
|
"name": "__tLogger__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/tests/test_callbacks.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1700.481648,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 5.459785461425781e-05
|
|
},
|
|
{
|
|
"args": [],
|
|
"asctime": "2025-08-14 22:47:20,102",
|
|
"created": 1755204440.102167,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "report",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 254,
|
|
"message": "Execution of state machine callback (1) (state_b, condition_a) identified by a sequence number: Values and number of submitted values is correct. See detailed log for more information.",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"Execution of state machine callback (1) (state_b, condition_a) identified by a sequence number",
|
|
"[ 1 ]",
|
|
"<class 'list'>"
|
|
],
|
|
"asctime": "2025-08-14 22:47:20,101",
|
|
"created": 1755204440.1018856,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_result__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 22,
|
|
"message": "Result (Execution of state machine callback (1) (state_b, condition_a) identified by a sequence number): [ 1 ] (<class 'list'>)",
|
|
"module": "test",
|
|
"msecs": 101.0,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/unittest/test.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1700.597566,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Execution of state machine callback (1) (state_b, condition_a) identified by a sequence number",
|
|
"=",
|
|
"[ 1 ]",
|
|
"<class 'list'>"
|
|
],
|
|
"asctime": "2025-08-14 22:47:20,101",
|
|
"created": 1755204440.101948,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_expectation__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 26,
|
|
"message": "Expectation (Execution of state machine callback (1) (state_b, condition_a) identified by a sequence number): result = [ 1 ] (<class 'list'>)",
|
|
"module": "test",
|
|
"msecs": 101.0,
|
|
"msg": "Expectation (%s): result %s %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/unittest/test.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1700.659914,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Submitted value number 1",
|
|
"1",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2025-08-14 22:47:20,102",
|
|
"created": 1755204440.1020088,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_result__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 22,
|
|
"message": "Result (Submitted value number 1): 1 (<class 'int'>)",
|
|
"module": "test",
|
|
"msecs": 102.0,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/unittest/test.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1700.7208,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Submitted value number 1",
|
|
"=",
|
|
"1",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2025-08-14 22:47:20,102",
|
|
"created": 1755204440.1020598,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_expectation__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 26,
|
|
"message": "Expectation (Submitted value number 1): result = 1 (<class 'int'>)",
|
|
"module": "test",
|
|
"msecs": 102.0,
|
|
"msg": "Expectation (%s): result %s %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/unittest/test.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1700.771814,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"1",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2025-08-14 22:47:20,102",
|
|
"created": 1755204440.102117,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "equivalency_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 184,
|
|
"message": "Submitted value number 1 is correct (Content 1 and Type is <class 'int'>).",
|
|
"module": "test",
|
|
"msecs": 102.0,
|
|
"msg": "Submitted value number 1 is correct (Content %s and Type is %s).",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/unittest/test.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1700.829215,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 102.0,
|
|
"msg": "Execution of state machine callback (1) (state_b, condition_a) identified by a sequence number: Values and number of submitted values is correct. See detailed log for more information.",
|
|
"name": "__tLogger__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/unittest/test.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1700.878803,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 4.982948303222656e-05
|
|
},
|
|
{
|
|
"args": [],
|
|
"asctime": "2025-08-14 22:47:20,102",
|
|
"created": 1755204440.1025314,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "report",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 254,
|
|
"message": "Execution of state machine callback (2) (state_b, condition_a) identified by a sequence number: Values and number of submitted values is correct. See detailed log for more information.",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"Execution of state machine callback (2) (state_b, condition_a) identified by a sequence number",
|
|
"[ 2 ]",
|
|
"<class 'list'>"
|
|
],
|
|
"asctime": "2025-08-14 22:47:20,102",
|
|
"created": 1755204440.1022532,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_result__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 22,
|
|
"message": "Result (Execution of state machine callback (2) (state_b, condition_a) identified by a sequence number): [ 2 ] (<class 'list'>)",
|
|
"module": "test",
|
|
"msecs": 102.0,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/unittest/test.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1700.965436,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Execution of state machine callback (2) (state_b, condition_a) identified by a sequence number",
|
|
"=",
|
|
"[ 2 ]",
|
|
"<class 'list'>"
|
|
],
|
|
"asctime": "2025-08-14 22:47:20,102",
|
|
"created": 1755204440.10231,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_expectation__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 26,
|
|
"message": "Expectation (Execution of state machine callback (2) (state_b, condition_a) identified by a sequence number): result = [ 2 ] (<class 'list'>)",
|
|
"module": "test",
|
|
"msecs": 102.0,
|
|
"msg": "Expectation (%s): result %s %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/unittest/test.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1701.021848,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Submitted value number 1",
|
|
"2",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2025-08-14 22:47:20,102",
|
|
"created": 1755204440.1023655,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_result__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 22,
|
|
"message": "Result (Submitted value number 1): 2 (<class 'int'>)",
|
|
"module": "test",
|
|
"msecs": 102.0,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/unittest/test.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1701.077519,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Submitted value number 1",
|
|
"=",
|
|
"2",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2025-08-14 22:47:20,102",
|
|
"created": 1755204440.1024296,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_expectation__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 26,
|
|
"message": "Expectation (Submitted value number 1): result = 2 (<class 'int'>)",
|
|
"module": "test",
|
|
"msecs": 102.0,
|
|
"msg": "Expectation (%s): result %s %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/unittest/test.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1701.14163,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"2",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2025-08-14 22:47:20,102",
|
|
"created": 1755204440.1024833,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "equivalency_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 184,
|
|
"message": "Submitted value number 1 is correct (Content 2 and Type is <class 'int'>).",
|
|
"module": "test",
|
|
"msecs": 102.0,
|
|
"msg": "Submitted value number 1 is correct (Content %s and Type is %s).",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/unittest/test.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1701.195165,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 102.0,
|
|
"msg": "Execution of state machine callback (2) (state_b, condition_a) identified by a sequence number: Values and number of submitted values is correct. See detailed log for more information.",
|
|
"name": "__tLogger__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/unittest/test.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1701.243365,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 4.8160552978515625e-05
|
|
}
|
|
],
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.0038344860076904297,
|
|
"time_finished": "2025-08-14 22:47:20,102",
|
|
"time_start": "2025-08-14 22:47:20,098"
|
|
},
|
|
"REQ-0002": {
|
|
"args": null,
|
|
"asctime": "2025-08-14 22:47:20,102",
|
|
"created": 1755204440.1027002,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "testCase",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 331,
|
|
"message": "REQ-0002",
|
|
"module": "__init__",
|
|
"moduleLogger": [],
|
|
"msecs": 102.0,
|
|
"msg": "REQ-0002",
|
|
"name": "__tLogger__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/report/__init__.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1701.412341,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"testcaseLogger": [
|
|
{
|
|
"args": [],
|
|
"asctime": "2025-08-14 22:47:20,103",
|
|
"created": 1755204440.1037881,
|
|
"exc_text": null,
|
|
"filename": "test_callbacks.py",
|
|
"funcName": "test_callbacks",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 58,
|
|
"message": "Running state machine sequence and storing sequence number for each callback",
|
|
"module": "test_callbacks",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"StateMachine:",
|
|
"'__init__'",
|
|
"None",
|
|
"'state_a'"
|
|
],
|
|
"asctime": "2025-08-14 22:47:20,102",
|
|
"created": 1755204440.1028025,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__set_state__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 179,
|
|
"message": "StateMachine: State change ('__init__'): None -> 'state_a'",
|
|
"module": "__init__",
|
|
"msecs": 102.0,
|
|
"msg": "%s State change (%s): %s -> %s",
|
|
"name": "state_machine",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/state_machine/__init__.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1701.514565,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
1
|
|
],
|
|
"asctime": "2025-08-14 22:47:20,102",
|
|
"created": 1755204440.1028814,
|
|
"exc_text": null,
|
|
"filename": "test_callbacks.py",
|
|
"funcName": "test_callbacks",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 55,
|
|
"message": "Increasing sequence number to 1 caused by sequence progress",
|
|
"module": "test_callbacks",
|
|
"msecs": 102.0,
|
|
"msg": "Increasing sequence number to %d caused by sequence progress",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/tests/test_callbacks.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1701.593551,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"StateMachine:",
|
|
"'condition_a'",
|
|
"'state_a'",
|
|
"'state_b'"
|
|
],
|
|
"asctime": "2025-08-14 22:47:20,102",
|
|
"created": 1755204440.1029592,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__set_state__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 179,
|
|
"message": "StateMachine: State change ('condition_a'): 'state_a' -> 'state_b'",
|
|
"module": "__init__",
|
|
"msecs": 102.0,
|
|
"msg": "%s State change (%s): %s -> %s",
|
|
"name": "state_machine",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/state_machine/__init__.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1701.671161,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
2
|
|
],
|
|
"asctime": "2025-08-14 22:47:20,103",
|
|
"created": 1755204440.1030197,
|
|
"exc_text": null,
|
|
"filename": "test_callbacks.py",
|
|
"funcName": "test_callbacks",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 55,
|
|
"message": "Increasing sequence number to 2 caused by sequence progress",
|
|
"module": "test_callbacks",
|
|
"msecs": 103.0,
|
|
"msg": "Increasing sequence number to %d caused by sequence progress",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/tests/test_callbacks.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1701.731871,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"StateMachine:",
|
|
"'condition_b'",
|
|
"'state_b'",
|
|
"'state_a'"
|
|
],
|
|
"asctime": "2025-08-14 22:47:20,103",
|
|
"created": 1755204440.1030927,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__set_state__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 179,
|
|
"message": "StateMachine: State change ('condition_b'): 'state_b' -> 'state_a'",
|
|
"module": "__init__",
|
|
"msecs": 103.0,
|
|
"msg": "%s State change (%s): %s -> %s",
|
|
"name": "state_machine",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/state_machine/__init__.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1701.804647,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
0,
|
|
"tests.test_callbacks",
|
|
"exec_with_counter"
|
|
],
|
|
"asctime": "2025-08-14 22:47:20,103",
|
|
"created": 1755204440.1031475,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__set_state__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 200,
|
|
"message": "Executing callback 0 - tests.test_callbacks.exec_with_counter",
|
|
"module": "__init__",
|
|
"msecs": 103.0,
|
|
"msg": "Executing callback %d - %s.%s",
|
|
"name": "state_machine",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/state_machine/__init__.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1701.859567,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
3
|
|
],
|
|
"asctime": "2025-08-14 22:47:20,103",
|
|
"created": 1755204440.1031983,
|
|
"exc_text": null,
|
|
"filename": "test_callbacks.py",
|
|
"funcName": "exec_with_counter",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 24,
|
|
"message": "Increasing sequence number to 3 caused by callback_execution",
|
|
"module": "test_callbacks",
|
|
"msecs": 103.0,
|
|
"msg": "Increasing sequence number to %d caused by callback_execution",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/tests/test_callbacks.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1701.910103,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
1,
|
|
"tests.test_callbacks",
|
|
"exec_with_counter"
|
|
],
|
|
"asctime": "2025-08-14 22:47:20,103",
|
|
"created": 1755204440.1032481,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__set_state__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 200,
|
|
"message": "Executing callback 1 - tests.test_callbacks.exec_with_counter",
|
|
"module": "__init__",
|
|
"msecs": 103.0,
|
|
"msg": "Executing callback %d - %s.%s",
|
|
"name": "state_machine",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/state_machine/__init__.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1701.96014,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
4
|
|
],
|
|
"asctime": "2025-08-14 22:47:20,103",
|
|
"created": 1755204440.1032958,
|
|
"exc_text": null,
|
|
"filename": "test_callbacks.py",
|
|
"funcName": "exec_with_counter",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 24,
|
|
"message": "Increasing sequence number to 4 caused by callback_execution",
|
|
"module": "test_callbacks",
|
|
"msecs": 103.0,
|
|
"msg": "Increasing sequence number to %d caused by callback_execution",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/tests/test_callbacks.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1702.007743,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
5
|
|
],
|
|
"asctime": "2025-08-14 22:47:20,103",
|
|
"created": 1755204440.1033478,
|
|
"exc_text": null,
|
|
"filename": "test_callbacks.py",
|
|
"funcName": "test_callbacks",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 55,
|
|
"message": "Increasing sequence number to 5 caused by sequence progress",
|
|
"module": "test_callbacks",
|
|
"msecs": 103.0,
|
|
"msg": "Increasing sequence number to %d caused by sequence progress",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/tests/test_callbacks.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1702.059615,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"StateMachine:",
|
|
"'condition_b'",
|
|
"'state_a'",
|
|
"'state_b'"
|
|
],
|
|
"asctime": "2025-08-14 22:47:20,103",
|
|
"created": 1755204440.103409,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__set_state__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 179,
|
|
"message": "StateMachine: State change ('condition_b'): 'state_a' -> 'state_b'",
|
|
"module": "__init__",
|
|
"msecs": 103.0,
|
|
"msg": "%s State change (%s): %s -> %s",
|
|
"name": "state_machine",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/state_machine/__init__.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1702.12127,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
0,
|
|
"tests.test_callbacks",
|
|
"exec_with_counter"
|
|
],
|
|
"asctime": "2025-08-14 22:47:20,103",
|
|
"created": 1755204440.103461,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__set_state__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 200,
|
|
"message": "Executing callback 0 - tests.test_callbacks.exec_with_counter",
|
|
"module": "__init__",
|
|
"msecs": 103.0,
|
|
"msg": "Executing callback %d - %s.%s",
|
|
"name": "state_machine",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/state_machine/__init__.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1702.173129,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
6
|
|
],
|
|
"asctime": "2025-08-14 22:47:20,103",
|
|
"created": 1755204440.1035097,
|
|
"exc_text": null,
|
|
"filename": "test_callbacks.py",
|
|
"funcName": "exec_with_counter",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 24,
|
|
"message": "Increasing sequence number to 6 caused by callback_execution",
|
|
"module": "test_callbacks",
|
|
"msecs": 103.0,
|
|
"msg": "Increasing sequence number to %d caused by callback_execution",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/tests/test_callbacks.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1702.221732,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
1,
|
|
"tests.test_callbacks",
|
|
"exec_with_counter"
|
|
],
|
|
"asctime": "2025-08-14 22:47:20,103",
|
|
"created": 1755204440.1035578,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__set_state__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 200,
|
|
"message": "Executing callback 1 - tests.test_callbacks.exec_with_counter",
|
|
"module": "__init__",
|
|
"msecs": 103.0,
|
|
"msg": "Executing callback %d - %s.%s",
|
|
"name": "state_machine",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/state_machine/__init__.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1702.269844,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
7
|
|
],
|
|
"asctime": "2025-08-14 22:47:20,103",
|
|
"created": 1755204440.1036043,
|
|
"exc_text": null,
|
|
"filename": "test_callbacks.py",
|
|
"funcName": "exec_with_counter",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 24,
|
|
"message": "Increasing sequence number to 7 caused by callback_execution",
|
|
"module": "test_callbacks",
|
|
"msecs": 103.0,
|
|
"msg": "Increasing sequence number to %d caused by callback_execution",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/tests/test_callbacks.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1702.316285,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
8
|
|
],
|
|
"asctime": "2025-08-14 22:47:20,103",
|
|
"created": 1755204440.103659,
|
|
"exc_text": null,
|
|
"filename": "test_callbacks.py",
|
|
"funcName": "test_callbacks",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 55,
|
|
"message": "Increasing sequence number to 8 caused by sequence progress",
|
|
"module": "test_callbacks",
|
|
"msecs": 103.0,
|
|
"msg": "Increasing sequence number to %d caused by sequence progress",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/tests/test_callbacks.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1702.370967,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"StateMachine:",
|
|
"'condition_c'",
|
|
"'state_b'",
|
|
"'state_c'"
|
|
],
|
|
"asctime": "2025-08-14 22:47:20,103",
|
|
"created": 1755204440.1037307,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__set_state__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 179,
|
|
"message": "StateMachine: State change ('condition_c'): 'state_b' -> 'state_c'",
|
|
"module": "__init__",
|
|
"msecs": 103.0,
|
|
"msg": "%s State change (%s): %s -> %s",
|
|
"name": "state_machine",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/state_machine/__init__.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1702.442595,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 103.0,
|
|
"msg": "Running state machine sequence and storing sequence number for each callback",
|
|
"name": "__tLogger__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/tests/test_callbacks.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1702.500014,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 5.745887756347656e-05
|
|
},
|
|
{
|
|
"args": [],
|
|
"asctime": "2025-08-14 22:47:20,104",
|
|
"created": 1755204440.104297,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "report",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 254,
|
|
"message": "Execution of state machine callback (1) (all_transitions, condition_b) identified by a sequence number: Values and number of submitted values is correct. See detailed log for more information.",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"Execution of state machine callback (1) (all_transitions, condition_b) identified by a sequence number",
|
|
"[ 2, 5 ]",
|
|
"<class 'list'>"
|
|
],
|
|
"asctime": "2025-08-14 22:47:20,103",
|
|
"created": 1755204440.1038861,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_result__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 22,
|
|
"message": "Result (Execution of state machine callback (1) (all_transitions, condition_b) identified by a sequence number): [ 2, 5 ] (<class 'list'>)",
|
|
"module": "test",
|
|
"msecs": 103.0,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/unittest/test.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1702.598134,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Execution of state machine callback (1) (all_transitions, condition_b) identified by a sequence number",
|
|
"=",
|
|
"[ 2, 5 ]",
|
|
"<class 'list'>"
|
|
],
|
|
"asctime": "2025-08-14 22:47:20,103",
|
|
"created": 1755204440.1039453,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_expectation__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 26,
|
|
"message": "Expectation (Execution of state machine callback (1) (all_transitions, condition_b) identified by a sequence number): result = [ 2, 5 ] (<class 'list'>)",
|
|
"module": "test",
|
|
"msecs": 103.0,
|
|
"msg": "Expectation (%s): result %s %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/unittest/test.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1702.657186,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Submitted value number 1",
|
|
"2",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2025-08-14 22:47:20,104",
|
|
"created": 1755204440.104001,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_result__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 22,
|
|
"message": "Result (Submitted value number 1): 2 (<class 'int'>)",
|
|
"module": "test",
|
|
"msecs": 104.0,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/unittest/test.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1702.713063,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Submitted value number 1",
|
|
"=",
|
|
"2",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2025-08-14 22:47:20,104",
|
|
"created": 1755204440.1040564,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_expectation__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 26,
|
|
"message": "Expectation (Submitted value number 1): result = 2 (<class 'int'>)",
|
|
"module": "test",
|
|
"msecs": 104.0,
|
|
"msg": "Expectation (%s): result %s %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/unittest/test.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1702.768428,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"2",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2025-08-14 22:47:20,104",
|
|
"created": 1755204440.104106,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "equivalency_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 184,
|
|
"message": "Submitted value number 1 is correct (Content 2 and Type is <class 'int'>).",
|
|
"module": "test",
|
|
"msecs": 104.0,
|
|
"msg": "Submitted value number 1 is correct (Content %s and Type is %s).",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/unittest/test.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1702.818111,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Submitted value number 2",
|
|
"5",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2025-08-14 22:47:20,104",
|
|
"created": 1755204440.1041555,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_result__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 22,
|
|
"message": "Result (Submitted value number 2): 5 (<class 'int'>)",
|
|
"module": "test",
|
|
"msecs": 104.0,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/unittest/test.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1702.867633,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Submitted value number 2",
|
|
"=",
|
|
"5",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2025-08-14 22:47:20,104",
|
|
"created": 1755204440.1042042,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_expectation__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 26,
|
|
"message": "Expectation (Submitted value number 2): result = 5 (<class 'int'>)",
|
|
"module": "test",
|
|
"msecs": 104.0,
|
|
"msg": "Expectation (%s): result %s %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/unittest/test.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1702.916229,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"5",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2025-08-14 22:47:20,104",
|
|
"created": 1755204440.1042514,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "equivalency_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 184,
|
|
"message": "Submitted value number 2 is correct (Content 5 and Type is <class 'int'>).",
|
|
"module": "test",
|
|
"msecs": 104.0,
|
|
"msg": "Submitted value number 2 is correct (Content %s and Type is %s).",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/unittest/test.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1702.963346,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 104.0,
|
|
"msg": "Execution of state machine callback (1) (all_transitions, condition_b) identified by a sequence number: Values and number of submitted values is correct. See detailed log for more information.",
|
|
"name": "__tLogger__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/unittest/test.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1703.009013,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 4.553794860839844e-05
|
|
},
|
|
{
|
|
"args": [],
|
|
"asctime": "2025-08-14 22:47:20,104",
|
|
"created": 1755204440.1047895,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "report",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 254,
|
|
"message": "Execution of state machine callback (2) (all_transitions, condition_b) identified by a sequence number: Values and number of submitted values is correct. See detailed log for more information.",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"Execution of state machine callback (2) (all_transitions, condition_b) identified by a sequence number",
|
|
"[ 3, 6 ]",
|
|
"<class 'list'>"
|
|
],
|
|
"asctime": "2025-08-14 22:47:20,104",
|
|
"created": 1755204440.1043983,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_result__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 22,
|
|
"message": "Result (Execution of state machine callback (2) (all_transitions, condition_b) identified by a sequence number): [ 3, 6 ] (<class 'list'>)",
|
|
"module": "test",
|
|
"msecs": 104.0,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/unittest/test.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1703.110462,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Execution of state machine callback (2) (all_transitions, condition_b) identified by a sequence number",
|
|
"=",
|
|
"[ 3, 6 ]",
|
|
"<class 'list'>"
|
|
],
|
|
"asctime": "2025-08-14 22:47:20,104",
|
|
"created": 1755204440.1044528,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_expectation__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 26,
|
|
"message": "Expectation (Execution of state machine callback (2) (all_transitions, condition_b) identified by a sequence number): result = [ 3, 6 ] (<class 'list'>)",
|
|
"module": "test",
|
|
"msecs": 104.0,
|
|
"msg": "Expectation (%s): result %s %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/unittest/test.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1703.164904,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Submitted value number 1",
|
|
"3",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2025-08-14 22:47:20,104",
|
|
"created": 1755204440.1045084,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_result__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 22,
|
|
"message": "Result (Submitted value number 1): 3 (<class 'int'>)",
|
|
"module": "test",
|
|
"msecs": 104.0,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/unittest/test.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1703.220378,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Submitted value number 1",
|
|
"=",
|
|
"3",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2025-08-14 22:47:20,104",
|
|
"created": 1755204440.1045582,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_expectation__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 26,
|
|
"message": "Expectation (Submitted value number 1): result = 3 (<class 'int'>)",
|
|
"module": "test",
|
|
"msecs": 104.0,
|
|
"msg": "Expectation (%s): result %s %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/unittest/test.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1703.2704,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"3",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2025-08-14 22:47:20,104",
|
|
"created": 1755204440.1046052,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "equivalency_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 184,
|
|
"message": "Submitted value number 1 is correct (Content 3 and Type is <class 'int'>).",
|
|
"module": "test",
|
|
"msecs": 104.0,
|
|
"msg": "Submitted value number 1 is correct (Content %s and Type is %s).",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/unittest/test.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1703.317301,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Submitted value number 2",
|
|
"6",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2025-08-14 22:47:20,104",
|
|
"created": 1755204440.1046524,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_result__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 22,
|
|
"message": "Result (Submitted value number 2): 6 (<class 'int'>)",
|
|
"module": "test",
|
|
"msecs": 104.0,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/unittest/test.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1703.36425,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Submitted value number 2",
|
|
"=",
|
|
"6",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2025-08-14 22:47:20,104",
|
|
"created": 1755204440.1047003,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_expectation__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 26,
|
|
"message": "Expectation (Submitted value number 2): result = 6 (<class 'int'>)",
|
|
"module": "test",
|
|
"msecs": 104.0,
|
|
"msg": "Expectation (%s): result %s %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/unittest/test.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1703.41241,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"6",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2025-08-14 22:47:20,104",
|
|
"created": 1755204440.1047459,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "equivalency_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 184,
|
|
"message": "Submitted value number 2 is correct (Content 6 and Type is <class 'int'>).",
|
|
"module": "test",
|
|
"msecs": 104.0,
|
|
"msg": "Submitted value number 2 is correct (Content %s and Type is %s).",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/unittest/test.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1703.458002,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 104.0,
|
|
"msg": "Execution of state machine callback (2) (all_transitions, condition_b) identified by a sequence number: Values and number of submitted values is correct. See detailed log for more information.",
|
|
"name": "__tLogger__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/unittest/test.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1703.501562,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 4.363059997558594e-05
|
|
}
|
|
],
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.002089262008666992,
|
|
"time_finished": "2025-08-14 22:47:20,104",
|
|
"time_start": "2025-08-14 22:47:20,102"
|
|
},
|
|
"REQ-0003": {
|
|
"args": null,
|
|
"asctime": "2025-08-14 22:47:20,104",
|
|
"created": 1755204440.1049466,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "testCase",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 331,
|
|
"message": "REQ-0003",
|
|
"module": "__init__",
|
|
"moduleLogger": [],
|
|
"msecs": 104.0,
|
|
"msg": "REQ-0003",
|
|
"name": "__tLogger__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/report/__init__.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1703.658727,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"testcaseLogger": [
|
|
{
|
|
"args": [],
|
|
"asctime": "2025-08-14 22:47:20,105",
|
|
"created": 1755204440.105971,
|
|
"exc_text": null,
|
|
"filename": "test_callbacks.py",
|
|
"funcName": "test_callbacks",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 58,
|
|
"message": "Running state machine sequence and storing sequence number for each callback",
|
|
"module": "test_callbacks",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"StateMachine:",
|
|
"'__init__'",
|
|
"None",
|
|
"'state_a'"
|
|
],
|
|
"asctime": "2025-08-14 22:47:20,105",
|
|
"created": 1755204440.1050436,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__set_state__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 179,
|
|
"message": "StateMachine: State change ('__init__'): None -> 'state_a'",
|
|
"module": "__init__",
|
|
"msecs": 105.0,
|
|
"msg": "%s State change (%s): %s -> %s",
|
|
"name": "state_machine",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/state_machine/__init__.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1703.7558,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
1
|
|
],
|
|
"asctime": "2025-08-14 22:47:20,105",
|
|
"created": 1755204440.1051166,
|
|
"exc_text": null,
|
|
"filename": "test_callbacks.py",
|
|
"funcName": "test_callbacks",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 55,
|
|
"message": "Increasing sequence number to 1 caused by sequence progress",
|
|
"module": "test_callbacks",
|
|
"msecs": 105.0,
|
|
"msg": "Increasing sequence number to %d caused by sequence progress",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/tests/test_callbacks.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1703.828748,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"StateMachine:",
|
|
"'condition_a'",
|
|
"'state_a'",
|
|
"'state_b'"
|
|
],
|
|
"asctime": "2025-08-14 22:47:20,105",
|
|
"created": 1755204440.1051948,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__set_state__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 179,
|
|
"message": "StateMachine: State change ('condition_a'): 'state_a' -> 'state_b'",
|
|
"module": "__init__",
|
|
"msecs": 105.0,
|
|
"msg": "%s State change (%s): %s -> %s",
|
|
"name": "state_machine",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/state_machine/__init__.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1703.906739,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
0,
|
|
"tests.test_callbacks",
|
|
"exec_with_counter"
|
|
],
|
|
"asctime": "2025-08-14 22:47:20,105",
|
|
"created": 1755204440.10525,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__set_state__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 200,
|
|
"message": "Executing callback 0 - tests.test_callbacks.exec_with_counter",
|
|
"module": "__init__",
|
|
"msecs": 105.0,
|
|
"msg": "Executing callback %d - %s.%s",
|
|
"name": "state_machine",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/state_machine/__init__.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1703.961889,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
2
|
|
],
|
|
"asctime": "2025-08-14 22:47:20,105",
|
|
"created": 1755204440.1052976,
|
|
"exc_text": null,
|
|
"filename": "test_callbacks.py",
|
|
"funcName": "exec_with_counter",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 24,
|
|
"message": "Increasing sequence number to 2 caused by callback_execution",
|
|
"module": "test_callbacks",
|
|
"msecs": 105.0,
|
|
"msg": "Increasing sequence number to %d caused by callback_execution",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/tests/test_callbacks.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1704.009562,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
1,
|
|
"tests.test_callbacks",
|
|
"exec_with_counter"
|
|
],
|
|
"asctime": "2025-08-14 22:47:20,105",
|
|
"created": 1755204440.1053445,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__set_state__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 200,
|
|
"message": "Executing callback 1 - tests.test_callbacks.exec_with_counter",
|
|
"module": "__init__",
|
|
"msecs": 105.0,
|
|
"msg": "Executing callback %d - %s.%s",
|
|
"name": "state_machine",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/state_machine/__init__.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1704.056501,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
3
|
|
],
|
|
"asctime": "2025-08-14 22:47:20,105",
|
|
"created": 1755204440.1053896,
|
|
"exc_text": null,
|
|
"filename": "test_callbacks.py",
|
|
"funcName": "exec_with_counter",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 24,
|
|
"message": "Increasing sequence number to 3 caused by callback_execution",
|
|
"module": "test_callbacks",
|
|
"msecs": 105.0,
|
|
"msg": "Increasing sequence number to %d caused by callback_execution",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/tests/test_callbacks.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1704.101573,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
4
|
|
],
|
|
"asctime": "2025-08-14 22:47:20,105",
|
|
"created": 1755204440.105439,
|
|
"exc_text": null,
|
|
"filename": "test_callbacks.py",
|
|
"funcName": "test_callbacks",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 55,
|
|
"message": "Increasing sequence number to 4 caused by sequence progress",
|
|
"module": "test_callbacks",
|
|
"msecs": 105.0,
|
|
"msg": "Increasing sequence number to %d caused by sequence progress",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/tests/test_callbacks.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1704.151019,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"StateMachine:",
|
|
"'condition_b'",
|
|
"'state_b'",
|
|
"'state_a'"
|
|
],
|
|
"asctime": "2025-08-14 22:47:20,105",
|
|
"created": 1755204440.1055026,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__set_state__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 179,
|
|
"message": "StateMachine: State change ('condition_b'): 'state_b' -> 'state_a'",
|
|
"module": "__init__",
|
|
"msecs": 105.0,
|
|
"msg": "%s State change (%s): %s -> %s",
|
|
"name": "state_machine",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/state_machine/__init__.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1704.214836,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
5
|
|
],
|
|
"asctime": "2025-08-14 22:47:20,105",
|
|
"created": 1755204440.1055608,
|
|
"exc_text": null,
|
|
"filename": "test_callbacks.py",
|
|
"funcName": "test_callbacks",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 55,
|
|
"message": "Increasing sequence number to 5 caused by sequence progress",
|
|
"module": "test_callbacks",
|
|
"msecs": 105.0,
|
|
"msg": "Increasing sequence number to %d caused by sequence progress",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/tests/test_callbacks.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1704.272851,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"StateMachine:",
|
|
"'condition_b'",
|
|
"'state_a'",
|
|
"'state_b'"
|
|
],
|
|
"asctime": "2025-08-14 22:47:20,105",
|
|
"created": 1755204440.1056204,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__set_state__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 179,
|
|
"message": "StateMachine: State change ('condition_b'): 'state_a' -> 'state_b'",
|
|
"module": "__init__",
|
|
"msecs": 105.0,
|
|
"msg": "%s State change (%s): %s -> %s",
|
|
"name": "state_machine",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/state_machine/__init__.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1704.332418,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
0,
|
|
"tests.test_callbacks",
|
|
"exec_with_counter"
|
|
],
|
|
"asctime": "2025-08-14 22:47:20,105",
|
|
"created": 1755204440.1056705,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__set_state__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 200,
|
|
"message": "Executing callback 0 - tests.test_callbacks.exec_with_counter",
|
|
"module": "__init__",
|
|
"msecs": 105.0,
|
|
"msg": "Executing callback %d - %s.%s",
|
|
"name": "state_machine",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/state_machine/__init__.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1704.382501,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
6
|
|
],
|
|
"asctime": "2025-08-14 22:47:20,105",
|
|
"created": 1755204440.1057172,
|
|
"exc_text": null,
|
|
"filename": "test_callbacks.py",
|
|
"funcName": "exec_with_counter",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 24,
|
|
"message": "Increasing sequence number to 6 caused by callback_execution",
|
|
"module": "test_callbacks",
|
|
"msecs": 105.0,
|
|
"msg": "Increasing sequence number to %d caused by callback_execution",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/tests/test_callbacks.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1704.429263,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
1,
|
|
"tests.test_callbacks",
|
|
"exec_with_counter"
|
|
],
|
|
"asctime": "2025-08-14 22:47:20,105",
|
|
"created": 1755204440.1057634,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__set_state__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 200,
|
|
"message": "Executing callback 1 - tests.test_callbacks.exec_with_counter",
|
|
"module": "__init__",
|
|
"msecs": 105.0,
|
|
"msg": "Executing callback %d - %s.%s",
|
|
"name": "state_machine",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/state_machine/__init__.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1704.475442,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
7
|
|
],
|
|
"asctime": "2025-08-14 22:47:20,105",
|
|
"created": 1755204440.105811,
|
|
"exc_text": null,
|
|
"filename": "test_callbacks.py",
|
|
"funcName": "exec_with_counter",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 24,
|
|
"message": "Increasing sequence number to 7 caused by callback_execution",
|
|
"module": "test_callbacks",
|
|
"msecs": 105.0,
|
|
"msg": "Increasing sequence number to %d caused by callback_execution",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/tests/test_callbacks.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1704.523229,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
8
|
|
],
|
|
"asctime": "2025-08-14 22:47:20,105",
|
|
"created": 1755204440.1058612,
|
|
"exc_text": null,
|
|
"filename": "test_callbacks.py",
|
|
"funcName": "test_callbacks",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 55,
|
|
"message": "Increasing sequence number to 8 caused by sequence progress",
|
|
"module": "test_callbacks",
|
|
"msecs": 105.0,
|
|
"msg": "Increasing sequence number to %d caused by sequence progress",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/tests/test_callbacks.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1704.573231,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"StateMachine:",
|
|
"'condition_c'",
|
|
"'state_b'",
|
|
"'state_c'"
|
|
],
|
|
"asctime": "2025-08-14 22:47:20,105",
|
|
"created": 1755204440.105919,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__set_state__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 179,
|
|
"message": "StateMachine: State change ('condition_c'): 'state_b' -> 'state_c'",
|
|
"module": "__init__",
|
|
"msecs": 105.0,
|
|
"msg": "%s State change (%s): %s -> %s",
|
|
"name": "state_machine",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/state_machine/__init__.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1704.630895,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 105.0,
|
|
"msg": "Running state machine sequence and storing sequence number for each callback",
|
|
"name": "__tLogger__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/tests/test_callbacks.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1704.683124,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 5.221366882324219e-05
|
|
},
|
|
{
|
|
"args": [],
|
|
"asctime": "2025-08-14 22:47:20,106",
|
|
"created": 1755204440.1064699,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "report",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 254,
|
|
"message": "Execution of state machine callback (1) (state_b, all_conditions) identified by a sequence number: Values and number of submitted values is correct. See detailed log for more information.",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"Execution of state machine callback (1) (state_b, all_conditions) identified by a sequence number",
|
|
"[ 1, 5 ]",
|
|
"<class 'list'>"
|
|
],
|
|
"asctime": "2025-08-14 22:47:20,106",
|
|
"created": 1755204440.1060612,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_result__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 22,
|
|
"message": "Result (Execution of state machine callback (1) (state_b, all_conditions) identified by a sequence number): [ 1, 5 ] (<class 'list'>)",
|
|
"module": "test",
|
|
"msecs": 106.0,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/unittest/test.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1704.773386,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Execution of state machine callback (1) (state_b, all_conditions) identified by a sequence number",
|
|
"=",
|
|
"[ 1, 5 ]",
|
|
"<class 'list'>"
|
|
],
|
|
"asctime": "2025-08-14 22:47:20,106",
|
|
"created": 1755204440.1061175,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_expectation__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 26,
|
|
"message": "Expectation (Execution of state machine callback (1) (state_b, all_conditions) identified by a sequence number): result = [ 1, 5 ] (<class 'list'>)",
|
|
"module": "test",
|
|
"msecs": 106.0,
|
|
"msg": "Expectation (%s): result %s %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/unittest/test.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1704.829433,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Submitted value number 1",
|
|
"1",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2025-08-14 22:47:20,106",
|
|
"created": 1755204440.1061697,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_result__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 22,
|
|
"message": "Result (Submitted value number 1): 1 (<class 'int'>)",
|
|
"module": "test",
|
|
"msecs": 106.0,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/unittest/test.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1704.881706,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Submitted value number 1",
|
|
"=",
|
|
"1",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2025-08-14 22:47:20,106",
|
|
"created": 1755204440.1062171,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_expectation__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 26,
|
|
"message": "Expectation (Submitted value number 1): result = 1 (<class 'int'>)",
|
|
"module": "test",
|
|
"msecs": 106.0,
|
|
"msg": "Expectation (%s): result %s %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/unittest/test.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1704.929235,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"1",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2025-08-14 22:47:20,106",
|
|
"created": 1755204440.1062644,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "equivalency_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 184,
|
|
"message": "Submitted value number 1 is correct (Content 1 and Type is <class 'int'>).",
|
|
"module": "test",
|
|
"msecs": 106.0,
|
|
"msg": "Submitted value number 1 is correct (Content %s and Type is %s).",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/unittest/test.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1704.976355,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Submitted value number 2",
|
|
"5",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2025-08-14 22:47:20,106",
|
|
"created": 1755204440.1063173,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_result__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 22,
|
|
"message": "Result (Submitted value number 2): 5 (<class 'int'>)",
|
|
"module": "test",
|
|
"msecs": 106.0,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/unittest/test.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1705.029225,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Submitted value number 2",
|
|
"=",
|
|
"5",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2025-08-14 22:47:20,106",
|
|
"created": 1755204440.1063688,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_expectation__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 26,
|
|
"message": "Expectation (Submitted value number 2): result = 5 (<class 'int'>)",
|
|
"module": "test",
|
|
"msecs": 106.0,
|
|
"msg": "Expectation (%s): result %s %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/unittest/test.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1705.080805,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"5",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2025-08-14 22:47:20,106",
|
|
"created": 1755204440.1064246,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "equivalency_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 184,
|
|
"message": "Submitted value number 2 is correct (Content 5 and Type is <class 'int'>).",
|
|
"module": "test",
|
|
"msecs": 106.0,
|
|
"msg": "Submitted value number 2 is correct (Content %s and Type is %s).",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/unittest/test.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1705.136583,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 106.0,
|
|
"msg": "Execution of state machine callback (1) (state_b, all_conditions) identified by a sequence number: Values and number of submitted values is correct. See detailed log for more information.",
|
|
"name": "__tLogger__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/unittest/test.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1705.181831,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 4.5299530029296875e-05
|
|
},
|
|
{
|
|
"args": [],
|
|
"asctime": "2025-08-14 22:47:20,106",
|
|
"created": 1755204440.1069448,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "report",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 254,
|
|
"message": "Execution of state machine callback (2) (state_b, all_conditions) identified by a sequence number: Values and number of submitted values is correct. See detailed log for more information.",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"Execution of state machine callback (2) (state_b, all_conditions) identified by a sequence number",
|
|
"[ 2, 6 ]",
|
|
"<class 'list'>"
|
|
],
|
|
"asctime": "2025-08-14 22:47:20,106",
|
|
"created": 1755204440.106554,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_result__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 22,
|
|
"message": "Result (Execution of state machine callback (2) (state_b, all_conditions) identified by a sequence number): [ 2, 6 ] (<class 'list'>)",
|
|
"module": "test",
|
|
"msecs": 106.0,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/unittest/test.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1705.266045,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Execution of state machine callback (2) (state_b, all_conditions) identified by a sequence number",
|
|
"=",
|
|
"[ 2, 6 ]",
|
|
"<class 'list'>"
|
|
],
|
|
"asctime": "2025-08-14 22:47:20,106",
|
|
"created": 1755204440.1066084,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_expectation__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 26,
|
|
"message": "Expectation (Execution of state machine callback (2) (state_b, all_conditions) identified by a sequence number): result = [ 2, 6 ] (<class 'list'>)",
|
|
"module": "test",
|
|
"msecs": 106.0,
|
|
"msg": "Expectation (%s): result %s %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/unittest/test.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1705.320277,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Submitted value number 1",
|
|
"2",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2025-08-14 22:47:20,106",
|
|
"created": 1755204440.106658,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_result__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 22,
|
|
"message": "Result (Submitted value number 1): 2 (<class 'int'>)",
|
|
"module": "test",
|
|
"msecs": 106.0,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/unittest/test.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1705.369989,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Submitted value number 1",
|
|
"=",
|
|
"2",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2025-08-14 22:47:20,106",
|
|
"created": 1755204440.106709,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_expectation__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 26,
|
|
"message": "Expectation (Submitted value number 1): result = 2 (<class 'int'>)",
|
|
"module": "test",
|
|
"msecs": 106.0,
|
|
"msg": "Expectation (%s): result %s %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/unittest/test.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1705.421026,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"2",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2025-08-14 22:47:20,106",
|
|
"created": 1755204440.1067564,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "equivalency_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 184,
|
|
"message": "Submitted value number 1 is correct (Content 2 and Type is <class 'int'>).",
|
|
"module": "test",
|
|
"msecs": 106.0,
|
|
"msg": "Submitted value number 1 is correct (Content %s and Type is %s).",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/unittest/test.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1705.468341,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Submitted value number 2",
|
|
"6",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2025-08-14 22:47:20,106",
|
|
"created": 1755204440.1068041,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_result__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 22,
|
|
"message": "Result (Submitted value number 2): 6 (<class 'int'>)",
|
|
"module": "test",
|
|
"msecs": 106.0,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/unittest/test.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1705.516189,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Submitted value number 2",
|
|
"=",
|
|
"6",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2025-08-14 22:47:20,106",
|
|
"created": 1755204440.10685,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_expectation__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 26,
|
|
"message": "Expectation (Submitted value number 2): result = 6 (<class 'int'>)",
|
|
"module": "test",
|
|
"msecs": 106.0,
|
|
"msg": "Expectation (%s): result %s %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/unittest/test.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1705.561919,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"6",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2025-08-14 22:47:20,106",
|
|
"created": 1755204440.1069,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "equivalency_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 184,
|
|
"message": "Submitted value number 2 is correct (Content 6 and Type is <class 'int'>).",
|
|
"module": "test",
|
|
"msecs": 106.0,
|
|
"msg": "Submitted value number 2 is correct (Content %s and Type is %s).",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/unittest/test.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1705.612001,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 106.0,
|
|
"msg": "Execution of state machine callback (2) (state_b, all_conditions) identified by a sequence number: Values and number of submitted values is correct. See detailed log for more information.",
|
|
"name": "__tLogger__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/unittest/test.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1705.656828,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 4.482269287109375e-05
|
|
}
|
|
],
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.0019981861114501953,
|
|
"time_finished": "2025-08-14 22:47:20,106",
|
|
"time_start": "2025-08-14 22:47:20,104"
|
|
},
|
|
"REQ-0004": {
|
|
"args": null,
|
|
"asctime": "2025-08-14 22:47:20,107",
|
|
"created": 1755204440.1071029,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "testCase",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 331,
|
|
"message": "REQ-0004",
|
|
"module": "__init__",
|
|
"moduleLogger": [],
|
|
"msecs": 107.0,
|
|
"msg": "REQ-0004",
|
|
"name": "__tLogger__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/report/__init__.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1705.815047,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"testcaseLogger": [
|
|
{
|
|
"args": [],
|
|
"asctime": "2025-08-14 22:47:20,108",
|
|
"created": 1755204440.108497,
|
|
"exc_text": null,
|
|
"filename": "test_callbacks.py",
|
|
"funcName": "test_callbacks",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 58,
|
|
"message": "Running state machine sequence and storing sequence number for each callback",
|
|
"module": "test_callbacks",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"StateMachine:",
|
|
"'__init__'",
|
|
"None",
|
|
"'state_a'"
|
|
],
|
|
"asctime": "2025-08-14 22:47:20,107",
|
|
"created": 1755204440.1071994,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__set_state__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 179,
|
|
"message": "StateMachine: State change ('__init__'): None -> 'state_a'",
|
|
"module": "__init__",
|
|
"msecs": 107.0,
|
|
"msg": "%s State change (%s): %s -> %s",
|
|
"name": "state_machine",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/state_machine/__init__.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1705.911386,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
1
|
|
],
|
|
"asctime": "2025-08-14 22:47:20,107",
|
|
"created": 1755204440.1072714,
|
|
"exc_text": null,
|
|
"filename": "test_callbacks.py",
|
|
"funcName": "test_callbacks",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 55,
|
|
"message": "Increasing sequence number to 1 caused by sequence progress",
|
|
"module": "test_callbacks",
|
|
"msecs": 107.0,
|
|
"msg": "Increasing sequence number to %d caused by sequence progress",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/tests/test_callbacks.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1705.9834,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"StateMachine:",
|
|
"'condition_a'",
|
|
"'state_a'",
|
|
"'state_b'"
|
|
],
|
|
"asctime": "2025-08-14 22:47:20,107",
|
|
"created": 1755204440.1073487,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__set_state__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 179,
|
|
"message": "StateMachine: State change ('condition_a'): 'state_a' -> 'state_b'",
|
|
"module": "__init__",
|
|
"msecs": 107.0,
|
|
"msg": "%s State change (%s): %s -> %s",
|
|
"name": "state_machine",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/state_machine/__init__.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1706.060845,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
0,
|
|
"tests.test_callbacks",
|
|
"exec_with_counter"
|
|
],
|
|
"asctime": "2025-08-14 22:47:20,107",
|
|
"created": 1755204440.107404,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__set_state__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 200,
|
|
"message": "Executing callback 0 - tests.test_callbacks.exec_with_counter",
|
|
"module": "__init__",
|
|
"msecs": 107.0,
|
|
"msg": "Executing callback %d - %s.%s",
|
|
"name": "state_machine",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/state_machine/__init__.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1706.115997,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
2
|
|
],
|
|
"asctime": "2025-08-14 22:47:20,107",
|
|
"created": 1755204440.107452,
|
|
"exc_text": null,
|
|
"filename": "test_callbacks.py",
|
|
"funcName": "exec_with_counter",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 24,
|
|
"message": "Increasing sequence number to 2 caused by callback_execution",
|
|
"module": "test_callbacks",
|
|
"msecs": 107.0,
|
|
"msg": "Increasing sequence number to %d caused by callback_execution",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/tests/test_callbacks.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1706.164031,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
1,
|
|
"tests.test_callbacks",
|
|
"exec_with_counter"
|
|
],
|
|
"asctime": "2025-08-14 22:47:20,107",
|
|
"created": 1755204440.1075,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__set_state__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 200,
|
|
"message": "Executing callback 1 - tests.test_callbacks.exec_with_counter",
|
|
"module": "__init__",
|
|
"msecs": 107.0,
|
|
"msg": "Executing callback %d - %s.%s",
|
|
"name": "state_machine",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/state_machine/__init__.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1706.211938,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
3
|
|
],
|
|
"asctime": "2025-08-14 22:47:20,107",
|
|
"created": 1755204440.107545,
|
|
"exc_text": null,
|
|
"filename": "test_callbacks.py",
|
|
"funcName": "exec_with_counter",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 24,
|
|
"message": "Increasing sequence number to 3 caused by callback_execution",
|
|
"module": "test_callbacks",
|
|
"msecs": 107.0,
|
|
"msg": "Increasing sequence number to %d caused by callback_execution",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/tests/test_callbacks.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1706.256931,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
4
|
|
],
|
|
"asctime": "2025-08-14 22:47:20,107",
|
|
"created": 1755204440.1075943,
|
|
"exc_text": null,
|
|
"filename": "test_callbacks.py",
|
|
"funcName": "test_callbacks",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 55,
|
|
"message": "Increasing sequence number to 4 caused by sequence progress",
|
|
"module": "test_callbacks",
|
|
"msecs": 107.0,
|
|
"msg": "Increasing sequence number to %d caused by sequence progress",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/tests/test_callbacks.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1706.306309,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"StateMachine:",
|
|
"'condition_b'",
|
|
"'state_b'",
|
|
"'state_a'"
|
|
],
|
|
"asctime": "2025-08-14 22:47:20,107",
|
|
"created": 1755204440.1076536,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__set_state__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 179,
|
|
"message": "StateMachine: State change ('condition_b'): 'state_b' -> 'state_a'",
|
|
"module": "__init__",
|
|
"msecs": 107.0,
|
|
"msg": "%s State change (%s): %s -> %s",
|
|
"name": "state_machine",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/state_machine/__init__.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1706.36567,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
0,
|
|
"tests.test_callbacks",
|
|
"exec_with_counter"
|
|
],
|
|
"asctime": "2025-08-14 22:47:20,107",
|
|
"created": 1755204440.1077044,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__set_state__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 200,
|
|
"message": "Executing callback 0 - tests.test_callbacks.exec_with_counter",
|
|
"module": "__init__",
|
|
"msecs": 107.0,
|
|
"msg": "Executing callback %d - %s.%s",
|
|
"name": "state_machine",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/state_machine/__init__.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1706.416294,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
5
|
|
],
|
|
"asctime": "2025-08-14 22:47:20,107",
|
|
"created": 1755204440.1077507,
|
|
"exc_text": null,
|
|
"filename": "test_callbacks.py",
|
|
"funcName": "exec_with_counter",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 24,
|
|
"message": "Increasing sequence number to 5 caused by callback_execution",
|
|
"module": "test_callbacks",
|
|
"msecs": 107.0,
|
|
"msg": "Increasing sequence number to %d caused by callback_execution",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/tests/test_callbacks.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1706.462726,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
1,
|
|
"tests.test_callbacks",
|
|
"exec_with_counter"
|
|
],
|
|
"asctime": "2025-08-14 22:47:20,107",
|
|
"created": 1755204440.1077964,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__set_state__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 200,
|
|
"message": "Executing callback 1 - tests.test_callbacks.exec_with_counter",
|
|
"module": "__init__",
|
|
"msecs": 107.0,
|
|
"msg": "Executing callback %d - %s.%s",
|
|
"name": "state_machine",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/state_machine/__init__.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1706.508489,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
6
|
|
],
|
|
"asctime": "2025-08-14 22:47:20,107",
|
|
"created": 1755204440.10784,
|
|
"exc_text": null,
|
|
"filename": "test_callbacks.py",
|
|
"funcName": "exec_with_counter",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 24,
|
|
"message": "Increasing sequence number to 6 caused by callback_execution",
|
|
"module": "test_callbacks",
|
|
"msecs": 107.0,
|
|
"msg": "Increasing sequence number to %d caused by callback_execution",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/tests/test_callbacks.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1706.552082,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
7
|
|
],
|
|
"asctime": "2025-08-14 22:47:20,107",
|
|
"created": 1755204440.1078925,
|
|
"exc_text": null,
|
|
"filename": "test_callbacks.py",
|
|
"funcName": "test_callbacks",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 55,
|
|
"message": "Increasing sequence number to 7 caused by sequence progress",
|
|
"module": "test_callbacks",
|
|
"msecs": 107.0,
|
|
"msg": "Increasing sequence number to %d caused by sequence progress",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/tests/test_callbacks.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1706.604498,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"StateMachine:",
|
|
"'condition_b'",
|
|
"'state_a'",
|
|
"'state_b'"
|
|
],
|
|
"asctime": "2025-08-14 22:47:20,107",
|
|
"created": 1755204440.1079512,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__set_state__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 179,
|
|
"message": "StateMachine: State change ('condition_b'): 'state_a' -> 'state_b'",
|
|
"module": "__init__",
|
|
"msecs": 107.0,
|
|
"msg": "%s State change (%s): %s -> %s",
|
|
"name": "state_machine",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/state_machine/__init__.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1706.66307,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
0,
|
|
"tests.test_callbacks",
|
|
"exec_with_counter"
|
|
],
|
|
"asctime": "2025-08-14 22:47:20,108",
|
|
"created": 1755204440.1080065,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__set_state__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 200,
|
|
"message": "Executing callback 0 - tests.test_callbacks.exec_with_counter",
|
|
"module": "__init__",
|
|
"msecs": 108.0,
|
|
"msg": "Executing callback %d - %s.%s",
|
|
"name": "state_machine",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/state_machine/__init__.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1706.718373,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
8
|
|
],
|
|
"asctime": "2025-08-14 22:47:20,108",
|
|
"created": 1755204440.1080556,
|
|
"exc_text": null,
|
|
"filename": "test_callbacks.py",
|
|
"funcName": "exec_with_counter",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 24,
|
|
"message": "Increasing sequence number to 8 caused by callback_execution",
|
|
"module": "test_callbacks",
|
|
"msecs": 108.0,
|
|
"msg": "Increasing sequence number to %d caused by callback_execution",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/tests/test_callbacks.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1706.767625,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
1,
|
|
"tests.test_callbacks",
|
|
"exec_with_counter"
|
|
],
|
|
"asctime": "2025-08-14 22:47:20,108",
|
|
"created": 1755204440.1081018,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__set_state__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 200,
|
|
"message": "Executing callback 1 - tests.test_callbacks.exec_with_counter",
|
|
"module": "__init__",
|
|
"msecs": 108.0,
|
|
"msg": "Executing callback %d - %s.%s",
|
|
"name": "state_machine",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/state_machine/__init__.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1706.813774,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
9
|
|
],
|
|
"asctime": "2025-08-14 22:47:20,108",
|
|
"created": 1755204440.1081462,
|
|
"exc_text": null,
|
|
"filename": "test_callbacks.py",
|
|
"funcName": "exec_with_counter",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 24,
|
|
"message": "Increasing sequence number to 9 caused by callback_execution",
|
|
"module": "test_callbacks",
|
|
"msecs": 108.0,
|
|
"msg": "Increasing sequence number to %d caused by callback_execution",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/tests/test_callbacks.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1706.858126,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
10
|
|
],
|
|
"asctime": "2025-08-14 22:47:20,108",
|
|
"created": 1755204440.108194,
|
|
"exc_text": null,
|
|
"filename": "test_callbacks.py",
|
|
"funcName": "test_callbacks",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 55,
|
|
"message": "Increasing sequence number to 10 caused by sequence progress",
|
|
"module": "test_callbacks",
|
|
"msecs": 108.0,
|
|
"msg": "Increasing sequence number to %d caused by sequence progress",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/tests/test_callbacks.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1706.906137,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"StateMachine:",
|
|
"'condition_c'",
|
|
"'state_b'",
|
|
"'state_c'"
|
|
],
|
|
"asctime": "2025-08-14 22:47:20,108",
|
|
"created": 1755204440.1082513,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__set_state__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 179,
|
|
"message": "StateMachine: State change ('condition_c'): 'state_b' -> 'state_c'",
|
|
"module": "__init__",
|
|
"msecs": 108.0,
|
|
"msg": "%s State change (%s): %s -> %s",
|
|
"name": "state_machine",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/state_machine/__init__.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1706.96328,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
0,
|
|
"tests.test_callbacks",
|
|
"exec_with_counter"
|
|
],
|
|
"asctime": "2025-08-14 22:47:20,108",
|
|
"created": 1755204440.1083045,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__set_state__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 200,
|
|
"message": "Executing callback 0 - tests.test_callbacks.exec_with_counter",
|
|
"module": "__init__",
|
|
"msecs": 108.0,
|
|
"msg": "Executing callback %d - %s.%s",
|
|
"name": "state_machine",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/state_machine/__init__.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1707.016497,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
11
|
|
],
|
|
"asctime": "2025-08-14 22:47:20,108",
|
|
"created": 1755204440.10835,
|
|
"exc_text": null,
|
|
"filename": "test_callbacks.py",
|
|
"funcName": "exec_with_counter",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 24,
|
|
"message": "Increasing sequence number to 11 caused by callback_execution",
|
|
"module": "test_callbacks",
|
|
"msecs": 108.0,
|
|
"msg": "Increasing sequence number to %d caused by callback_execution",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/tests/test_callbacks.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1707.06207,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
1,
|
|
"tests.test_callbacks",
|
|
"exec_with_counter"
|
|
],
|
|
"asctime": "2025-08-14 22:47:20,108",
|
|
"created": 1755204440.1084087,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__set_state__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 200,
|
|
"message": "Executing callback 1 - tests.test_callbacks.exec_with_counter",
|
|
"module": "__init__",
|
|
"msecs": 108.0,
|
|
"msg": "Executing callback %d - %s.%s",
|
|
"name": "state_machine",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/state_machine/__init__.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1707.12056,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
12
|
|
],
|
|
"asctime": "2025-08-14 22:47:20,108",
|
|
"created": 1755204440.1084507,
|
|
"exc_text": null,
|
|
"filename": "test_callbacks.py",
|
|
"funcName": "exec_with_counter",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 24,
|
|
"message": "Increasing sequence number to 12 caused by callback_execution",
|
|
"module": "test_callbacks",
|
|
"msecs": 108.0,
|
|
"msg": "Increasing sequence number to %d caused by callback_execution",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/tests/test_callbacks.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1707.162585,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 108.0,
|
|
"msg": "Running state machine sequence and storing sequence number for each callback",
|
|
"name": "__tLogger__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/tests/test_callbacks.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1707.208913,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 4.6253204345703125e-05
|
|
},
|
|
{
|
|
"args": [],
|
|
"asctime": "2025-08-14 22:47:20,109",
|
|
"created": 1755204440.1092246,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "report",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 254,
|
|
"message": "Execution of state machine callback (1) (all_transitions, all_conditions) identified by a sequence number: Values and number of submitted values is correct. See detailed log for more information.",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"Execution of state machine callback (1) (all_transitions, all_conditions) identified by a sequence number",
|
|
"[ 1, 4, 7, 10 ]",
|
|
"<class 'list'>"
|
|
],
|
|
"asctime": "2025-08-14 22:47:20,108",
|
|
"created": 1755204440.1085913,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_result__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 22,
|
|
"message": "Result (Execution of state machine callback (1) (all_transitions, all_conditions) identified by a sequence number): [ 1, 4, 7, 10 ] (<class 'list'>)",
|
|
"module": "test",
|
|
"msecs": 108.0,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/unittest/test.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1707.30334,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Execution of state machine callback (1) (all_transitions, all_conditions) identified by a sequence number",
|
|
"=",
|
|
"[ 1, 4, 7, 10 ]",
|
|
"<class 'list'>"
|
|
],
|
|
"asctime": "2025-08-14 22:47:20,108",
|
|
"created": 1755204440.1086483,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_expectation__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 26,
|
|
"message": "Expectation (Execution of state machine callback (1) (all_transitions, all_conditions) identified by a sequence number): result = [ 1, 4, 7, 10 ] (<class 'list'>)",
|
|
"module": "test",
|
|
"msecs": 108.0,
|
|
"msg": "Expectation (%s): result %s %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/unittest/test.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1707.360169,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Submitted value number 1",
|
|
"1",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2025-08-14 22:47:20,108",
|
|
"created": 1755204440.1086977,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_result__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 22,
|
|
"message": "Result (Submitted value number 1): 1 (<class 'int'>)",
|
|
"module": "test",
|
|
"msecs": 108.0,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/unittest/test.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1707.409718,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Submitted value number 1",
|
|
"=",
|
|
"1",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2025-08-14 22:47:20,108",
|
|
"created": 1755204440.108747,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_expectation__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 26,
|
|
"message": "Expectation (Submitted value number 1): result = 1 (<class 'int'>)",
|
|
"module": "test",
|
|
"msecs": 108.0,
|
|
"msg": "Expectation (%s): result %s %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/unittest/test.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1707.459138,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"1",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2025-08-14 22:47:20,108",
|
|
"created": 1755204440.1087928,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "equivalency_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 184,
|
|
"message": "Submitted value number 1 is correct (Content 1 and Type is <class 'int'>).",
|
|
"module": "test",
|
|
"msecs": 108.0,
|
|
"msg": "Submitted value number 1 is correct (Content %s and Type is %s).",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/unittest/test.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1707.504767,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Submitted value number 2",
|
|
"4",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2025-08-14 22:47:20,108",
|
|
"created": 1755204440.1088388,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_result__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 22,
|
|
"message": "Result (Submitted value number 2): 4 (<class 'int'>)",
|
|
"module": "test",
|
|
"msecs": 108.0,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/unittest/test.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1707.550875,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Submitted value number 2",
|
|
"=",
|
|
"4",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2025-08-14 22:47:20,108",
|
|
"created": 1755204440.108883,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_expectation__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 26,
|
|
"message": "Expectation (Submitted value number 2): result = 4 (<class 'int'>)",
|
|
"module": "test",
|
|
"msecs": 108.0,
|
|
"msg": "Expectation (%s): result %s %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/unittest/test.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1707.59502,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"4",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2025-08-14 22:47:20,108",
|
|
"created": 1755204440.1089256,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "equivalency_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 184,
|
|
"message": "Submitted value number 2 is correct (Content 4 and Type is <class 'int'>).",
|
|
"module": "test",
|
|
"msecs": 108.0,
|
|
"msg": "Submitted value number 2 is correct (Content %s and Type is %s).",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/unittest/test.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1707.637678,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Submitted value number 3",
|
|
"7",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2025-08-14 22:47:20,108",
|
|
"created": 1755204440.1089694,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_result__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 22,
|
|
"message": "Result (Submitted value number 3): 7 (<class 'int'>)",
|
|
"module": "test",
|
|
"msecs": 108.0,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/unittest/test.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1707.681466,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Submitted value number 3",
|
|
"=",
|
|
"7",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2025-08-14 22:47:20,109",
|
|
"created": 1755204440.1090128,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_expectation__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 26,
|
|
"message": "Expectation (Submitted value number 3): result = 7 (<class 'int'>)",
|
|
"module": "test",
|
|
"msecs": 109.0,
|
|
"msg": "Expectation (%s): result %s %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/unittest/test.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1707.724672,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"7",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2025-08-14 22:47:20,109",
|
|
"created": 1755204440.1090546,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "equivalency_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 184,
|
|
"message": "Submitted value number 3 is correct (Content 7 and Type is <class 'int'>).",
|
|
"module": "test",
|
|
"msecs": 109.0,
|
|
"msg": "Submitted value number 3 is correct (Content %s and Type is %s).",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/unittest/test.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1707.766466,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Submitted value number 4",
|
|
"10",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2025-08-14 22:47:20,109",
|
|
"created": 1755204440.1090977,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_result__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 22,
|
|
"message": "Result (Submitted value number 4): 10 (<class 'int'>)",
|
|
"module": "test",
|
|
"msecs": 109.0,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/unittest/test.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1707.809624,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Submitted value number 4",
|
|
"=",
|
|
"10",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2025-08-14 22:47:20,109",
|
|
"created": 1755204440.1091404,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_expectation__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 26,
|
|
"message": "Expectation (Submitted value number 4): result = 10 (<class 'int'>)",
|
|
"module": "test",
|
|
"msecs": 109.0,
|
|
"msg": "Expectation (%s): result %s %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/unittest/test.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1707.852569,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"10",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2025-08-14 22:47:20,109",
|
|
"created": 1755204440.1091833,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "equivalency_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 184,
|
|
"message": "Submitted value number 4 is correct (Content 10 and Type is <class 'int'>).",
|
|
"module": "test",
|
|
"msecs": 109.0,
|
|
"msg": "Submitted value number 4 is correct (Content %s and Type is %s).",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/unittest/test.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1707.895183,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 109.0,
|
|
"msg": "Execution of state machine callback (1) (all_transitions, all_conditions) identified by a sequence number: Values and number of submitted values is correct. See detailed log for more information.",
|
|
"name": "__tLogger__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/unittest/test.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1707.93645,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 4.124641418457031e-05
|
|
},
|
|
{
|
|
"args": [],
|
|
"asctime": "2025-08-14 22:47:20,109",
|
|
"created": 1755204440.1099513,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "report",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 254,
|
|
"message": "Execution of state machine callback (2) (all_transitions, all_conditions) identified by a sequence number: Values and number of submitted values is correct. See detailed log for more information.",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"Execution of state machine callback (2) (all_transitions, all_conditions) identified by a sequence number",
|
|
"[ 2, 5, 8, 11 ]",
|
|
"<class 'list'>"
|
|
],
|
|
"asctime": "2025-08-14 22:47:20,109",
|
|
"created": 1755204440.109309,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_result__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 22,
|
|
"message": "Result (Execution of state machine callback (2) (all_transitions, all_conditions) identified by a sequence number): [ 2, 5, 8, 11 ] (<class 'list'>)",
|
|
"module": "test",
|
|
"msecs": 109.0,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/unittest/test.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1708.020864,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Execution of state machine callback (2) (all_transitions, all_conditions) identified by a sequence number",
|
|
"=",
|
|
"[ 2, 5, 8, 11 ]",
|
|
"<class 'list'>"
|
|
],
|
|
"asctime": "2025-08-14 22:47:20,109",
|
|
"created": 1755204440.1093626,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_expectation__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 26,
|
|
"message": "Expectation (Execution of state machine callback (2) (all_transitions, all_conditions) identified by a sequence number): result = [ 2, 5, 8, 11 ] (<class 'list'>)",
|
|
"module": "test",
|
|
"msecs": 109.0,
|
|
"msg": "Expectation (%s): result %s %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/unittest/test.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1708.074642,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Submitted value number 1",
|
|
"2",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2025-08-14 22:47:20,109",
|
|
"created": 1755204440.1094103,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_result__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 22,
|
|
"message": "Result (Submitted value number 1): 2 (<class 'int'>)",
|
|
"module": "test",
|
|
"msecs": 109.0,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/unittest/test.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1708.122344,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Submitted value number 1",
|
|
"=",
|
|
"2",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2025-08-14 22:47:20,109",
|
|
"created": 1755204440.1094556,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_expectation__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 26,
|
|
"message": "Expectation (Submitted value number 1): result = 2 (<class 'int'>)",
|
|
"module": "test",
|
|
"msecs": 109.0,
|
|
"msg": "Expectation (%s): result %s %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/unittest/test.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1708.167546,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"2",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2025-08-14 22:47:20,109",
|
|
"created": 1755204440.1095028,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "equivalency_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 184,
|
|
"message": "Submitted value number 1 is correct (Content 2 and Type is <class 'int'>).",
|
|
"module": "test",
|
|
"msecs": 109.0,
|
|
"msg": "Submitted value number 1 is correct (Content %s and Type is %s).",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/unittest/test.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1708.214813,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Submitted value number 2",
|
|
"5",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2025-08-14 22:47:20,109",
|
|
"created": 1755204440.109551,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_result__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 22,
|
|
"message": "Result (Submitted value number 2): 5 (<class 'int'>)",
|
|
"module": "test",
|
|
"msecs": 109.0,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/unittest/test.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1708.262867,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Submitted value number 2",
|
|
"=",
|
|
"5",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2025-08-14 22:47:20,109",
|
|
"created": 1755204440.109594,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_expectation__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 26,
|
|
"message": "Expectation (Submitted value number 2): result = 5 (<class 'int'>)",
|
|
"module": "test",
|
|
"msecs": 109.0,
|
|
"msg": "Expectation (%s): result %s %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/unittest/test.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1708.306178,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"5",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2025-08-14 22:47:20,109",
|
|
"created": 1755204440.1096425,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "equivalency_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 184,
|
|
"message": "Submitted value number 2 is correct (Content 5 and Type is <class 'int'>).",
|
|
"module": "test",
|
|
"msecs": 109.0,
|
|
"msg": "Submitted value number 2 is correct (Content %s and Type is %s).",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/unittest/test.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1708.354511,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Submitted value number 3",
|
|
"8",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2025-08-14 22:47:20,109",
|
|
"created": 1755204440.1096883,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_result__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 22,
|
|
"message": "Result (Submitted value number 3): 8 (<class 'int'>)",
|
|
"module": "test",
|
|
"msecs": 109.0,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/unittest/test.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1708.40022,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Submitted value number 3",
|
|
"=",
|
|
"8",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2025-08-14 22:47:20,109",
|
|
"created": 1755204440.1097322,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_expectation__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 26,
|
|
"message": "Expectation (Submitted value number 3): result = 8 (<class 'int'>)",
|
|
"module": "test",
|
|
"msecs": 109.0,
|
|
"msg": "Expectation (%s): result %s %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/unittest/test.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1708.444069,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"8",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2025-08-14 22:47:20,109",
|
|
"created": 1755204440.109775,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "equivalency_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 184,
|
|
"message": "Submitted value number 3 is correct (Content 8 and Type is <class 'int'>).",
|
|
"module": "test",
|
|
"msecs": 109.0,
|
|
"msg": "Submitted value number 3 is correct (Content %s and Type is %s).",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/unittest/test.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1708.487086,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Submitted value number 4",
|
|
"11",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2025-08-14 22:47:20,109",
|
|
"created": 1755204440.109819,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_result__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 22,
|
|
"message": "Result (Submitted value number 4): 11 (<class 'int'>)",
|
|
"module": "test",
|
|
"msecs": 109.0,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/unittest/test.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1708.530965,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Submitted value number 4",
|
|
"=",
|
|
"11",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2025-08-14 22:47:20,109",
|
|
"created": 1755204440.1098619,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_expectation__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 26,
|
|
"message": "Expectation (Submitted value number 4): result = 11 (<class 'int'>)",
|
|
"module": "test",
|
|
"msecs": 109.0,
|
|
"msg": "Expectation (%s): result %s %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/unittest/test.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1708.573908,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"11",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2025-08-14 22:47:20,109",
|
|
"created": 1755204440.1099088,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "equivalency_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 184,
|
|
"message": "Submitted value number 4 is correct (Content 11 and Type is <class 'int'>).",
|
|
"module": "test",
|
|
"msecs": 109.0,
|
|
"msg": "Submitted value number 4 is correct (Content %s and Type is %s).",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/unittest/test.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1708.620684,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 109.0,
|
|
"msg": "Execution of state machine callback (2) (all_transitions, all_conditions) identified by a sequence number: Values and number of submitted values is correct. See detailed log for more information.",
|
|
"name": "__tLogger__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/unittest/test.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1708.663248,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 4.2438507080078125e-05
|
|
}
|
|
],
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.002848386764526367,
|
|
"time_finished": "2025-08-14 22:47:20,109",
|
|
"time_start": "2025-08-14 22:47:20,107"
|
|
},
|
|
"REQ-0005": {
|
|
"args": null,
|
|
"asctime": "2025-08-14 22:47:18,453",
|
|
"created": 1755204438.453603,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "testCase",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 331,
|
|
"message": "REQ-0005",
|
|
"module": "__init__",
|
|
"moduleLogger": [],
|
|
"msecs": 453.0,
|
|
"msg": "REQ-0005",
|
|
"name": "__tLogger__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/report/__init__.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 52.31503,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"testcaseLogger": [
|
|
{
|
|
"args": [],
|
|
"asctime": "2025-08-14 22:47:18,453",
|
|
"created": 1755204438.4538972,
|
|
"exc_text": null,
|
|
"filename": "test_init.py",
|
|
"funcName": "test_init_state",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 12,
|
|
"message": "Initialising the state machine with state_c",
|
|
"module": "test_init",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"StateMachine:",
|
|
"'__init__'",
|
|
"None",
|
|
"'state_c'"
|
|
],
|
|
"asctime": "2025-08-14 22:47:18,453",
|
|
"created": 1755204438.4538343,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__set_state__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 179,
|
|
"message": "StateMachine: State change ('__init__'): None -> 'state_c'",
|
|
"module": "__init__",
|
|
"msecs": 453.0,
|
|
"msg": "%s State change (%s): %s -> %s",
|
|
"name": "state_machine",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/state_machine/__init__.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 52.546351,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 453.0,
|
|
"msg": "Initialising the state machine with state_c",
|
|
"name": "__tLogger__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/tests/test_init.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 52.609137,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 6.29425048828125e-05
|
|
},
|
|
{
|
|
"args": [
|
|
"'state_c'",
|
|
"<class 'str'>"
|
|
],
|
|
"asctime": "2025-08-14 22:47:18,454",
|
|
"created": 1755204438.4540715,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "equivalency_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 184,
|
|
"message": "State after initialisation is correct (Content 'state_c' and Type is <class 'str'>).",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"State after initialisation",
|
|
"'state_c'",
|
|
"<class 'str'>"
|
|
],
|
|
"asctime": "2025-08-14 22:47:18,453",
|
|
"created": 1755204438.4539785,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_result__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 22,
|
|
"message": "Result (State after initialisation): 'state_c' (<class 'str'>)",
|
|
"module": "test",
|
|
"msecs": 453.0,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/unittest/test.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 52.690613,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"State after initialisation",
|
|
"=",
|
|
"'state_c'",
|
|
"<class 'str'>"
|
|
],
|
|
"asctime": "2025-08-14 22:47:18,454",
|
|
"created": 1755204438.4540212,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_expectation__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 26,
|
|
"message": "Expectation (State after initialisation): result = 'state_c' (<class 'str'>)",
|
|
"module": "test",
|
|
"msecs": 454.0,
|
|
"msg": "Expectation (%s): result %s %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/unittest/test.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 52.733073,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 454.0,
|
|
"msg": "State after initialisation is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/unittest/test.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 52.783474,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 5.030632019042969e-05
|
|
}
|
|
],
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.0004684925079345703,
|
|
"time_finished": "2025-08-14 22:47:18,454",
|
|
"time_start": "2025-08-14 22:47:18,453"
|
|
},
|
|
"REQ-0006": {
|
|
"args": null,
|
|
"asctime": "2025-08-14 22:47:18,454",
|
|
"created": 1755204438.4542,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "testCase",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 331,
|
|
"message": "REQ-0006",
|
|
"module": "__init__",
|
|
"moduleLogger": [],
|
|
"msecs": 454.0,
|
|
"msg": "REQ-0006",
|
|
"name": "__tLogger__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/report/__init__.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 52.911989,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"testcaseLogger": [
|
|
{
|
|
"args": [],
|
|
"asctime": "2025-08-14 22:47:18,454",
|
|
"created": 1755204438.4543095,
|
|
"exc_text": null,
|
|
"filename": "test_init.py",
|
|
"funcName": "test_init_last_transition",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 18,
|
|
"message": "Initialising the state machine with state_c",
|
|
"module": "test_init",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"StateMachine:",
|
|
"'__init__'",
|
|
"None",
|
|
"'state_c'"
|
|
],
|
|
"asctime": "2025-08-14 22:47:18,454",
|
|
"created": 1755204438.4542677,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__set_state__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 179,
|
|
"message": "StateMachine: State change ('__init__'): None -> 'state_c'",
|
|
"module": "__init__",
|
|
"msecs": 454.0,
|
|
"msg": "%s State change (%s): %s -> %s",
|
|
"name": "state_machine",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/state_machine/__init__.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 52.979596,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 454.0,
|
|
"msg": "Initialising the state machine with state_c",
|
|
"name": "__tLogger__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/tests/test_init.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 53.02146,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 4.172325134277344e-05
|
|
},
|
|
{
|
|
"args": [
|
|
"'__init__'",
|
|
"<class 'str'>"
|
|
],
|
|
"asctime": "2025-08-14 22:47:18,454",
|
|
"created": 1755204438.45448,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "equivalency_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 184,
|
|
"message": "Last transition condition after initialisation is correct (Content '__init__' and Type is <class 'str'>).",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"Last transition condition after initialisation",
|
|
"'__init__'",
|
|
"<class 'str'>"
|
|
],
|
|
"asctime": "2025-08-14 22:47:18,454",
|
|
"created": 1755204438.454364,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_result__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 22,
|
|
"message": "Result (Last transition condition after initialisation): '__init__' (<class 'str'>)",
|
|
"module": "test",
|
|
"msecs": 454.0,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/unittest/test.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 53.076295,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Last transition condition after initialisation",
|
|
"=",
|
|
"'__init__'",
|
|
"<class 'str'>"
|
|
],
|
|
"asctime": "2025-08-14 22:47:18,454",
|
|
"created": 1755204438.4544384,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_expectation__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 26,
|
|
"message": "Expectation (Last transition condition after initialisation): result = '__init__' (<class 'str'>)",
|
|
"module": "test",
|
|
"msecs": 454.0,
|
|
"msg": "Expectation (%s): result %s %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/unittest/test.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 53.150301,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 454.0,
|
|
"msg": "Last transition condition after initialisation is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/unittest/test.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 53.191981,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 4.1484832763671875e-05
|
|
}
|
|
],
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.0002799034118652344,
|
|
"time_finished": "2025-08-14 22:47:18,454",
|
|
"time_start": "2025-08-14 22:47:18,454"
|
|
},
|
|
"REQ-0007": {
|
|
"args": null,
|
|
"asctime": "2025-08-14 22:47:18,454",
|
|
"created": 1755204438.454581,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "testCase",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 331,
|
|
"message": "REQ-0007",
|
|
"module": "__init__",
|
|
"moduleLogger": [],
|
|
"msecs": 454.0,
|
|
"msg": "REQ-0007",
|
|
"name": "__tLogger__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/report/__init__.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 53.292897,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"testcaseLogger": [
|
|
{
|
|
"args": [],
|
|
"asctime": "2025-08-14 22:47:18,454",
|
|
"created": 1755204438.4546833,
|
|
"exc_text": null,
|
|
"filename": "test_init.py",
|
|
"funcName": "test_init_last_state",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 24,
|
|
"message": "Initialising the state machine with state_c",
|
|
"module": "test_init",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"StateMachine:",
|
|
"'__init__'",
|
|
"None",
|
|
"'state_c'"
|
|
],
|
|
"asctime": "2025-08-14 22:47:18,454",
|
|
"created": 1755204438.4546468,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__set_state__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 179,
|
|
"message": "StateMachine: State change ('__init__'): None -> 'state_c'",
|
|
"module": "__init__",
|
|
"msecs": 454.0,
|
|
"msg": "%s State change (%s): %s -> %s",
|
|
"name": "state_machine",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/state_machine/__init__.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 53.358898,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 454.0,
|
|
"msg": "Initialising the state machine with state_c",
|
|
"name": "__tLogger__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/tests/test_init.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 53.395329,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 3.647804260253906e-05
|
|
},
|
|
{
|
|
"args": [
|
|
"None",
|
|
"<class 'NoneType'>"
|
|
],
|
|
"asctime": "2025-08-14 22:47:18,454",
|
|
"created": 1755204438.454799,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "equivalency_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 184,
|
|
"message": "Last state after initialisation is correct (Content None and Type is <class 'NoneType'>).",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"Last state after initialisation",
|
|
"None",
|
|
"<class 'NoneType'>"
|
|
],
|
|
"asctime": "2025-08-14 22:47:18,454",
|
|
"created": 1755204438.4547355,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_result__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 22,
|
|
"message": "Result (Last state after initialisation): None (<class 'NoneType'>)",
|
|
"module": "test",
|
|
"msecs": 454.0,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/unittest/test.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 53.447719,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Last state after initialisation",
|
|
"=",
|
|
"None",
|
|
"<class 'NoneType'>"
|
|
],
|
|
"asctime": "2025-08-14 22:47:18,454",
|
|
"created": 1755204438.4547687,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_expectation__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 26,
|
|
"message": "Expectation (Last state after initialisation): result = None (<class 'NoneType'>)",
|
|
"module": "test",
|
|
"msecs": 454.0,
|
|
"msg": "Expectation (%s): result %s %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/unittest/test.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 53.480589,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 454.0,
|
|
"msg": "Last state after initialisation is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/unittest/test.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 53.51079,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 3.0279159545898438e-05
|
|
}
|
|
],
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.00021791458129882812,
|
|
"time_finished": "2025-08-14 22:47:18,454",
|
|
"time_start": "2025-08-14 22:47:18,454"
|
|
},
|
|
"REQ-0008": {
|
|
"args": null,
|
|
"asctime": "2025-08-14 22:47:18,454",
|
|
"created": 1755204438.4548898,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "testCase",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 331,
|
|
"message": "REQ-0008",
|
|
"module": "__init__",
|
|
"moduleLogger": [],
|
|
"msecs": 454.0,
|
|
"msg": "REQ-0008",
|
|
"name": "__tLogger__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/report/__init__.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 53.601748,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"testcaseLogger": [
|
|
{
|
|
"args": [],
|
|
"asctime": "2025-08-14 22:47:18,454",
|
|
"created": 1755204438.454993,
|
|
"exc_text": null,
|
|
"filename": "test_init.py",
|
|
"funcName": "test_init_keyword_arguments",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 36,
|
|
"message": "Initialising the state machine with state_c",
|
|
"module": "test_init",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"StateMachine:",
|
|
"'__init__'",
|
|
"None",
|
|
"'state_c'"
|
|
],
|
|
"asctime": "2025-08-14 22:47:18,454",
|
|
"created": 1755204438.454953,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__set_state__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 179,
|
|
"message": "StateMachine: State change ('__init__'): None -> 'state_c'",
|
|
"module": "__init__",
|
|
"msecs": 454.0,
|
|
"msg": "%s State change (%s): %s -> %s",
|
|
"name": "state_machine",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/state_machine/__init__.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 53.664974,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 454.0,
|
|
"msg": "Initialising the state machine with state_c",
|
|
"name": "__tLogger__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/tests/test_init.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 53.704972,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 4.00543212890625e-05
|
|
},
|
|
{
|
|
"args": [
|
|
"1",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2025-08-14 22:47:18,455",
|
|
"created": 1755204438.4551091,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "equivalency_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 184,
|
|
"message": "Keyword argument kw_arg_no_1 stored in state_machine is correct (Content 1 and Type is <class 'int'>).",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"Keyword argument kw_arg_no_1 stored in state_machine",
|
|
"1",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2025-08-14 22:47:18,455",
|
|
"created": 1755204438.4550462,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_result__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 22,
|
|
"message": "Result (Keyword argument kw_arg_no_1 stored in state_machine): 1 (<class 'int'>)",
|
|
"module": "test",
|
|
"msecs": 455.0,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/unittest/test.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 53.758064,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Keyword argument kw_arg_no_1 stored in state_machine",
|
|
"=",
|
|
"1",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2025-08-14 22:47:18,455",
|
|
"created": 1755204438.455079,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_expectation__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 26,
|
|
"message": "Expectation (Keyword argument kw_arg_no_1 stored in state_machine): result = 1 (<class 'int'>)",
|
|
"module": "test",
|
|
"msecs": 455.0,
|
|
"msg": "Expectation (%s): result %s %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/unittest/test.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 53.79124,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 455.0,
|
|
"msg": "Keyword argument kw_arg_no_1 stored in state_machine is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/unittest/test.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 53.8212,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 3.0040740966796875e-05
|
|
},
|
|
{
|
|
"args": [
|
|
"'2'",
|
|
"<class 'str'>"
|
|
],
|
|
"asctime": "2025-08-14 22:47:18,455",
|
|
"created": 1755204438.455223,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "equivalency_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 184,
|
|
"message": "Keyword argument kw_arg_no_2 stored in state_machine is correct (Content '2' and Type is <class 'str'>).",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"Keyword argument kw_arg_no_2 stored in state_machine",
|
|
"'2'",
|
|
"<class 'str'>"
|
|
],
|
|
"asctime": "2025-08-14 22:47:18,455",
|
|
"created": 1755204438.4551575,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_result__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 22,
|
|
"message": "Result (Keyword argument kw_arg_no_2 stored in state_machine): '2' (<class 'str'>)",
|
|
"module": "test",
|
|
"msecs": 455.0,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/unittest/test.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 53.869617,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Keyword argument kw_arg_no_2 stored in state_machine",
|
|
"=",
|
|
"'2'",
|
|
"<class 'str'>"
|
|
],
|
|
"asctime": "2025-08-14 22:47:18,455",
|
|
"created": 1755204438.455188,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_expectation__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 26,
|
|
"message": "Expectation (Keyword argument kw_arg_no_2 stored in state_machine): result = '2' (<class 'str'>)",
|
|
"module": "test",
|
|
"msecs": 455.0,
|
|
"msg": "Expectation (%s): result %s %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/unittest/test.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 53.900102,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 455.0,
|
|
"msg": "Keyword argument kw_arg_no_2 stored in state_machine is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/unittest/test.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 53.935099,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 3.504753112792969e-05
|
|
},
|
|
{
|
|
"args": [
|
|
"True",
|
|
"<class 'bool'>"
|
|
],
|
|
"asctime": "2025-08-14 22:47:18,455",
|
|
"created": 1755204438.455331,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "equivalency_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 184,
|
|
"message": "Keyword argument kw_arg_no_3 stored in state_machine is correct (Content True and Type is <class 'bool'>).",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"Keyword argument kw_arg_no_3 stored in state_machine",
|
|
"True",
|
|
"<class 'bool'>"
|
|
],
|
|
"asctime": "2025-08-14 22:47:18,455",
|
|
"created": 1755204438.4552722,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_result__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 22,
|
|
"message": "Result (Keyword argument kw_arg_no_3 stored in state_machine): True (<class 'bool'>)",
|
|
"module": "test",
|
|
"msecs": 455.0,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/unittest/test.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 53.984277,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Keyword argument kw_arg_no_3 stored in state_machine",
|
|
"=",
|
|
"True",
|
|
"<class 'bool'>"
|
|
],
|
|
"asctime": "2025-08-14 22:47:18,455",
|
|
"created": 1755204438.4553027,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_expectation__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 26,
|
|
"message": "Expectation (Keyword argument kw_arg_no_3 stored in state_machine): result = True (<class 'bool'>)",
|
|
"module": "test",
|
|
"msecs": 455.0,
|
|
"msg": "Expectation (%s): result %s %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/unittest/test.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 54.014684,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 455.0,
|
|
"msg": "Keyword argument kw_arg_no_3 stored in state_machine is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/unittest/test.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 54.043107,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 2.8371810913085938e-05
|
|
},
|
|
{
|
|
"args": [
|
|
"{'1': 1, '2': 'two'}",
|
|
"<class 'dict'>"
|
|
],
|
|
"asctime": "2025-08-14 22:47:18,455",
|
|
"created": 1755204438.4554737,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "equivalency_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 184,
|
|
"message": "Keyword argument kw_arg_no_4 stored in state_machine is correct (Content {'1': 1, '2': 'two'} and Type is <class 'dict'>).",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"Keyword argument kw_arg_no_4 stored in state_machine",
|
|
"{ '1': 1, '2': 'two' }",
|
|
"<class 'dict'>"
|
|
],
|
|
"asctime": "2025-08-14 22:47:18,455",
|
|
"created": 1755204438.455386,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_result__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 22,
|
|
"message": "Result (Keyword argument kw_arg_no_4 stored in state_machine): { '1': 1, '2': 'two' } (<class 'dict'>)",
|
|
"module": "test",
|
|
"msecs": 455.0,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/unittest/test.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 54.097841,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Keyword argument kw_arg_no_4 stored in state_machine",
|
|
"=",
|
|
"{ '1': 1, '2': 'two' }",
|
|
"<class 'dict'>"
|
|
],
|
|
"asctime": "2025-08-14 22:47:18,455",
|
|
"created": 1755204438.4554207,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_expectation__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 26,
|
|
"message": "Expectation (Keyword argument kw_arg_no_4 stored in state_machine): result = { '1': 1, '2': 'two' } (<class 'dict'>)",
|
|
"module": "test",
|
|
"msecs": 455.0,
|
|
"msg": "Expectation (%s): result %s %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/unittest/test.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 54.132584,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 455.0,
|
|
"msg": "Keyword argument kw_arg_no_4 stored in state_machine is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/unittest/test.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 54.185591,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 5.2928924560546875e-05
|
|
}
|
|
],
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.0005838871002197266,
|
|
"time_finished": "2025-08-14 22:47:18,455",
|
|
"time_start": "2025-08-14 22:47:18,454"
|
|
},
|
|
"REQ-0009": {
|
|
"args": null,
|
|
"asctime": "2025-08-14 22:47:19,078",
|
|
"created": 1755204439.0788999,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "testCase",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 331,
|
|
"message": "REQ-0009",
|
|
"module": "__init__",
|
|
"moduleLogger": [],
|
|
"msecs": 78.0,
|
|
"msg": "REQ-0009",
|
|
"name": "__tLogger__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/report/__init__.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 677.612041,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"testcaseLogger": [
|
|
{
|
|
"args": [],
|
|
"asctime": "2025-08-14 22:47:19,079",
|
|
"created": 1755204439.0795188,
|
|
"exc_text": null,
|
|
"filename": "test_interface.py",
|
|
"funcName": "test_this_state",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 16,
|
|
"message": "Initialising the state machine with state_c",
|
|
"module": "test_interface",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"StateMachine:",
|
|
"'__init__'",
|
|
"None",
|
|
"'state_c'"
|
|
],
|
|
"asctime": "2025-08-14 22:47:19,079",
|
|
"created": 1755204439.0792837,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__set_state__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 179,
|
|
"message": "StateMachine: State change ('__init__'): None -> 'state_c'",
|
|
"module": "__init__",
|
|
"msecs": 79.0,
|
|
"msg": "%s State change (%s): %s -> %s",
|
|
"name": "state_machine",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/state_machine/__init__.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 677.995606,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 79.0,
|
|
"msg": "Initialising the state machine with state_c",
|
|
"name": "__tLogger__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/tests/test_interface.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 678.230727,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.00023508071899414062
|
|
},
|
|
{
|
|
"args": [
|
|
"'state_c'",
|
|
"<class 'str'>"
|
|
],
|
|
"asctime": "2025-08-14 22:47:19,080",
|
|
"created": 1755204439.0802076,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "equivalency_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 184,
|
|
"message": "Returnvalue of this_state() is correct (Content 'state_c' and Type is <class 'str'>).",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"Returnvalue of this_state()",
|
|
"'state_c'",
|
|
"<class 'str'>"
|
|
],
|
|
"asctime": "2025-08-14 22:47:19,079",
|
|
"created": 1755204439.0798392,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_result__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 22,
|
|
"message": "Result (Returnvalue of this_state()): 'state_c' (<class 'str'>)",
|
|
"module": "test",
|
|
"msecs": 79.0,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/unittest/test.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 678.551306,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Returnvalue of this_state()",
|
|
"=",
|
|
"'state_c'",
|
|
"<class 'str'>"
|
|
],
|
|
"asctime": "2025-08-14 22:47:19,080",
|
|
"created": 1755204439.0800314,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_expectation__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 26,
|
|
"message": "Expectation (Returnvalue of this_state()): result = 'state_c' (<class 'str'>)",
|
|
"module": "test",
|
|
"msecs": 80.0,
|
|
"msg": "Expectation (%s): result %s %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/unittest/test.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 678.74347,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 80.0,
|
|
"msg": "Returnvalue of this_state() is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/unittest/test.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 678.919721,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.0001761913299560547
|
|
}
|
|
],
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.0013077259063720703,
|
|
"time_finished": "2025-08-14 22:47:19,080",
|
|
"time_start": "2025-08-14 22:47:19,078"
|
|
},
|
|
"REQ-0010": {
|
|
"args": null,
|
|
"asctime": "2025-08-14 22:47:19,080",
|
|
"created": 1755204439.0807137,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "testCase",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 331,
|
|
"message": "REQ-0010",
|
|
"module": "__init__",
|
|
"moduleLogger": [],
|
|
"msecs": 80.0,
|
|
"msg": "REQ-0010",
|
|
"name": "__tLogger__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/report/__init__.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 679.425747,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"testcaseLogger": [
|
|
{
|
|
"args": [],
|
|
"asctime": "2025-08-14 22:47:19,081",
|
|
"created": 1755204439.0812767,
|
|
"exc_text": null,
|
|
"filename": "test_interface.py",
|
|
"funcName": "test_this_state_is",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 22,
|
|
"message": "Initialising the state machine with state_c",
|
|
"module": "test_interface",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"StateMachine:",
|
|
"'__init__'",
|
|
"None",
|
|
"'state_c'"
|
|
],
|
|
"asctime": "2025-08-14 22:47:19,081",
|
|
"created": 1755204439.0810702,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__set_state__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 179,
|
|
"message": "StateMachine: State change ('__init__'): None -> 'state_c'",
|
|
"module": "__init__",
|
|
"msecs": 81.0,
|
|
"msg": "%s State change (%s): %s -> %s",
|
|
"name": "state_machine",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/state_machine/__init__.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 679.781987,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 81.0,
|
|
"msg": "Initialising the state machine with state_c",
|
|
"name": "__tLogger__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/tests/test_interface.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 679.988624,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.00020647048950195312
|
|
},
|
|
{
|
|
"args": [
|
|
"True",
|
|
"<class 'bool'>"
|
|
],
|
|
"asctime": "2025-08-14 22:47:19,081",
|
|
"created": 1755204439.0819027,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "equivalency_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 184,
|
|
"message": "Returnvalue of this_state_is(state_c) is correct (Content True and Type is <class 'bool'>).",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"Returnvalue of this_state_is(state_c)",
|
|
"True",
|
|
"<class 'bool'>"
|
|
],
|
|
"asctime": "2025-08-14 22:47:19,081",
|
|
"created": 1755204439.081563,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_result__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 22,
|
|
"message": "Result (Returnvalue of this_state_is(state_c)): True (<class 'bool'>)",
|
|
"module": "test",
|
|
"msecs": 81.0,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/unittest/test.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 680.274828,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Returnvalue of this_state_is(state_c)",
|
|
"=",
|
|
"True",
|
|
"<class 'bool'>"
|
|
],
|
|
"asctime": "2025-08-14 22:47:19,081",
|
|
"created": 1755204439.0817692,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_expectation__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 26,
|
|
"message": "Expectation (Returnvalue of this_state_is(state_c)): result = True (<class 'bool'>)",
|
|
"module": "test",
|
|
"msecs": 81.0,
|
|
"msg": "Expectation (%s): result %s %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/unittest/test.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 680.481198,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 81.0,
|
|
"msg": "Returnvalue of this_state_is(state_c) is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/unittest/test.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 680.614888,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.000133514404296875
|
|
},
|
|
{
|
|
"args": [
|
|
"False",
|
|
"<class 'bool'>"
|
|
],
|
|
"asctime": "2025-08-14 22:47:19,082",
|
|
"created": 1755204439.0820823,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "equivalency_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 184,
|
|
"message": "Returnvalue of this_state_is(state_b) is correct (Content False and Type is <class 'bool'>).",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"Returnvalue of this_state_is(state_b)",
|
|
"False",
|
|
"<class 'bool'>"
|
|
],
|
|
"asctime": "2025-08-14 22:47:19,081",
|
|
"created": 1755204439.0819845,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_result__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 22,
|
|
"message": "Result (Returnvalue of this_state_is(state_b)): False (<class 'bool'>)",
|
|
"module": "test",
|
|
"msecs": 81.0,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/unittest/test.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 680.696563,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Returnvalue of this_state_is(state_b)",
|
|
"=",
|
|
"False",
|
|
"<class 'bool'>"
|
|
],
|
|
"asctime": "2025-08-14 22:47:19,082",
|
|
"created": 1755204439.0820353,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_expectation__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 26,
|
|
"message": "Expectation (Returnvalue of this_state_is(state_b)): result = False (<class 'bool'>)",
|
|
"module": "test",
|
|
"msecs": 82.0,
|
|
"msg": "Expectation (%s): result %s %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/unittest/test.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 680.747155,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 82.0,
|
|
"msg": "Returnvalue of this_state_is(state_b) is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/unittest/test.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 680.794185,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 4.696846008300781e-05
|
|
}
|
|
],
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.0013685226440429688,
|
|
"time_finished": "2025-08-14 22:47:19,082",
|
|
"time_start": "2025-08-14 22:47:19,080"
|
|
},
|
|
"REQ-0011": {
|
|
"args": null,
|
|
"asctime": "2025-08-14 22:47:19,082",
|
|
"created": 1755204439.0822306,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "testCase",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 331,
|
|
"message": "REQ-0011",
|
|
"module": "__init__",
|
|
"moduleLogger": [],
|
|
"msecs": 82.0,
|
|
"msg": "REQ-0011",
|
|
"name": "__tLogger__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/report/__init__.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 680.942551,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"testcaseLogger": [
|
|
{
|
|
"args": [],
|
|
"asctime": "2025-08-14 22:47:19,333",
|
|
"created": 1755204439.3332608,
|
|
"exc_text": null,
|
|
"filename": "test_interface.py",
|
|
"funcName": "test_this_state_duration",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 34,
|
|
"message": "Running state machine test sequence.",
|
|
"module": "test_interface",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"StateMachine:",
|
|
"'__init__'",
|
|
"None",
|
|
"'state_a'"
|
|
],
|
|
"asctime": "2025-08-14 22:47:19,082",
|
|
"created": 1755204439.0823357,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__set_state__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 179,
|
|
"message": "StateMachine: State change ('__init__'): None -> 'state_a'",
|
|
"module": "__init__",
|
|
"msecs": 82.0,
|
|
"msg": "%s State change (%s): %s -> %s",
|
|
"name": "state_machine",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/state_machine/__init__.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 681.047693,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"StateMachine:",
|
|
"'condition_a'",
|
|
"'state_a'",
|
|
"'state_b'"
|
|
],
|
|
"asctime": "2025-08-14 22:47:19,082",
|
|
"created": 1755204439.0824418,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__set_state__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 179,
|
|
"message": "StateMachine: State change ('condition_a'): 'state_a' -> 'state_b'",
|
|
"module": "__init__",
|
|
"msecs": 82.0,
|
|
"msg": "%s State change (%s): %s -> %s",
|
|
"name": "state_machine",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/state_machine/__init__.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 681.153792,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
0.25
|
|
],
|
|
"asctime": "2025-08-14 22:47:19,332",
|
|
"created": 1755204439.3328516,
|
|
"exc_text": null,
|
|
"filename": "test_interface.py",
|
|
"funcName": "test_this_state_duration",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 33,
|
|
"message": "Waiting for 0.25s",
|
|
"module": "test_interface",
|
|
"msecs": 332.0,
|
|
"msg": "Waiting for %.2fs",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/tests/test_interface.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 931.563696,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 333.0,
|
|
"msg": "Running state machine test sequence.",
|
|
"name": "__tLogger__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/tests/test_interface.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 931.972746,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.00040912628173828125
|
|
},
|
|
{
|
|
"args": [
|
|
"0.25122594833374023",
|
|
"0.2",
|
|
"0.3",
|
|
"<class 'float'>"
|
|
],
|
|
"asctime": "2025-08-14 22:47:19,334",
|
|
"created": 1755204439.3343549,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "range_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 306,
|
|
"message": "Return Value of this_state_duration() is correct (Content 0.25122594833374023 in [0.2 ... 0.3] and Type is <class 'float'>).",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"Return Value of this_state_duration()",
|
|
"0.25122594833374023",
|
|
"<class 'float'>"
|
|
],
|
|
"asctime": "2025-08-14 22:47:19,333",
|
|
"created": 1755204439.333861,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_result__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 22,
|
|
"message": "Result (Return Value of this_state_duration()): 0.25122594833374023 (<class 'float'>)",
|
|
"module": "test",
|
|
"msecs": 333.0,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/unittest/test.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 932.573145,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Return Value of this_state_duration()",
|
|
"0.2",
|
|
"0.3"
|
|
],
|
|
"asctime": "2025-08-14 22:47:19,334",
|
|
"created": 1755204439.3341205,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_expectation_range__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 46,
|
|
"message": "Expectation (Return Value of this_state_duration()): 0.2 <= result <= 0.3",
|
|
"module": "test",
|
|
"msecs": 334.0,
|
|
"msg": "Expectation (%s): %s <= result <= %s",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/unittest/test.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 932.832551,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 334.0,
|
|
"msg": "Return Value of this_state_duration() is correct (Content %s in [%s ... %s] and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/unittest/test.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 933.066989,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.00023436546325683594
|
|
}
|
|
],
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.2521243095397949,
|
|
"time_finished": "2025-08-14 22:47:19,334",
|
|
"time_start": "2025-08-14 22:47:19,082"
|
|
},
|
|
"REQ-0012": {
|
|
"args": null,
|
|
"asctime": "2025-08-14 22:47:19,335",
|
|
"created": 1755204439.3351247,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "testCase",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 331,
|
|
"message": "REQ-0012",
|
|
"module": "__init__",
|
|
"moduleLogger": [],
|
|
"msecs": 335.0,
|
|
"msg": "REQ-0012",
|
|
"name": "__tLogger__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/report/__init__.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 933.8367,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"testcaseLogger": [
|
|
{
|
|
"args": [],
|
|
"asctime": "2025-08-14 22:47:19,336",
|
|
"created": 1755204439.336128,
|
|
"exc_text": null,
|
|
"filename": "test_interface.py",
|
|
"funcName": "test_last_transition_condition",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 41,
|
|
"message": "Running state machine test sequence.",
|
|
"module": "test_interface",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"StateMachine:",
|
|
"'__init__'",
|
|
"None",
|
|
"'state_a'"
|
|
],
|
|
"asctime": "2025-08-14 22:47:19,335",
|
|
"created": 1755204439.335554,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__set_state__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 179,
|
|
"message": "StateMachine: State change ('__init__'): None -> 'state_a'",
|
|
"module": "__init__",
|
|
"msecs": 335.0,
|
|
"msg": "%s State change (%s): %s -> %s",
|
|
"name": "state_machine",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/state_machine/__init__.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 934.265731,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"StateMachine:",
|
|
"'condition_a'",
|
|
"'state_a'",
|
|
"'state_b'"
|
|
],
|
|
"asctime": "2025-08-14 22:47:19,335",
|
|
"created": 1755204439.3358998,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__set_state__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 179,
|
|
"message": "StateMachine: State change ('condition_a'): 'state_a' -> 'state_b'",
|
|
"module": "__init__",
|
|
"msecs": 335.0,
|
|
"msg": "%s State change (%s): %s -> %s",
|
|
"name": "state_machine",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/state_machine/__init__.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 934.611848,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 336.0,
|
|
"msg": "Running state machine test sequence.",
|
|
"name": "__tLogger__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/tests/test_interface.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 934.840047,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.0002281665802001953
|
|
},
|
|
{
|
|
"args": [
|
|
"'condition_a'",
|
|
"<class 'str'>"
|
|
],
|
|
"asctime": "2025-08-14 22:47:19,336",
|
|
"created": 1755204439.3369458,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "equivalency_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 184,
|
|
"message": "Returnvalue of last_transition_condition() is correct (Content 'condition_a' and Type is <class 'str'>).",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"Returnvalue of last_transition_condition()",
|
|
"'condition_a'",
|
|
"<class 'str'>"
|
|
],
|
|
"asctime": "2025-08-14 22:47:19,336",
|
|
"created": 1755204439.3364975,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_result__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 22,
|
|
"message": "Result (Returnvalue of last_transition_condition()): 'condition_a' (<class 'str'>)",
|
|
"module": "test",
|
|
"msecs": 336.0,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/unittest/test.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 935.209746,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Returnvalue of last_transition_condition()",
|
|
"=",
|
|
"'condition_a'",
|
|
"<class 'str'>"
|
|
],
|
|
"asctime": "2025-08-14 22:47:19,336",
|
|
"created": 1755204439.3367262,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_expectation__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 26,
|
|
"message": "Expectation (Returnvalue of last_transition_condition()): result = 'condition_a' (<class 'str'>)",
|
|
"module": "test",
|
|
"msecs": 336.0,
|
|
"msg": "Expectation (%s): result %s %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/unittest/test.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 935.438233,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 336.0,
|
|
"msg": "Returnvalue of last_transition_condition() is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/unittest/test.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 935.657553,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.00021958351135253906
|
|
}
|
|
],
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.0018210411071777344,
|
|
"time_finished": "2025-08-14 22:47:19,336",
|
|
"time_start": "2025-08-14 22:47:19,335"
|
|
},
|
|
"REQ-0013": {
|
|
"args": null,
|
|
"asctime": "2025-08-14 22:47:19,337",
|
|
"created": 1755204439.3375506,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "testCase",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 331,
|
|
"message": "REQ-0013",
|
|
"module": "__init__",
|
|
"moduleLogger": [],
|
|
"msecs": 337.0,
|
|
"msg": "REQ-0013",
|
|
"name": "__tLogger__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/report/__init__.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 936.262684,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"testcaseLogger": [
|
|
{
|
|
"args": [],
|
|
"asctime": "2025-08-14 22:47:19,338",
|
|
"created": 1755204439.3385177,
|
|
"exc_text": null,
|
|
"filename": "test_interface.py",
|
|
"funcName": "test_last_transition_condition_was",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 48,
|
|
"message": "Running state machine test sequence.",
|
|
"module": "test_interface",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"StateMachine:",
|
|
"'__init__'",
|
|
"None",
|
|
"'state_a'"
|
|
],
|
|
"asctime": "2025-08-14 22:47:19,337",
|
|
"created": 1755204439.3379724,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__set_state__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 179,
|
|
"message": "StateMachine: State change ('__init__'): None -> 'state_a'",
|
|
"module": "__init__",
|
|
"msecs": 337.0,
|
|
"msg": "%s State change (%s): %s -> %s",
|
|
"name": "state_machine",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/state_machine/__init__.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 936.684456,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"StateMachine:",
|
|
"'condition_a'",
|
|
"'state_a'",
|
|
"'state_b'"
|
|
],
|
|
"asctime": "2025-08-14 22:47:19,338",
|
|
"created": 1755204439.33829,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__set_state__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 179,
|
|
"message": "StateMachine: State change ('condition_a'): 'state_a' -> 'state_b'",
|
|
"module": "__init__",
|
|
"msecs": 338.0,
|
|
"msg": "%s State change (%s): %s -> %s",
|
|
"name": "state_machine",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/state_machine/__init__.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 937.001872,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 338.0,
|
|
"msg": "Running state machine test sequence.",
|
|
"name": "__tLogger__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/tests/test_interface.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 937.229735,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.0002276897430419922
|
|
},
|
|
{
|
|
"args": [
|
|
"True",
|
|
"<class 'bool'>"
|
|
],
|
|
"asctime": "2025-08-14 22:47:19,339",
|
|
"created": 1755204439.3391886,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "equivalency_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 184,
|
|
"message": "Returnvalue of last_transition_condition(condition_a) is correct (Content True and Type is <class 'bool'>).",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"Returnvalue of last_transition_condition(condition_a)",
|
|
"True",
|
|
"<class 'bool'>"
|
|
],
|
|
"asctime": "2025-08-14 22:47:19,338",
|
|
"created": 1755204439.3388283,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_result__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 22,
|
|
"message": "Result (Returnvalue of last_transition_condition(condition_a)): True (<class 'bool'>)",
|
|
"module": "test",
|
|
"msecs": 338.0,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/unittest/test.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 937.540228,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Returnvalue of last_transition_condition(condition_a)",
|
|
"=",
|
|
"True",
|
|
"<class 'bool'>"
|
|
],
|
|
"asctime": "2025-08-14 22:47:19,339",
|
|
"created": 1755204439.3390186,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_expectation__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 26,
|
|
"message": "Expectation (Returnvalue of last_transition_condition(condition_a)): result = True (<class 'bool'>)",
|
|
"module": "test",
|
|
"msecs": 339.0,
|
|
"msg": "Expectation (%s): result %s %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/unittest/test.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 937.730388,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 339.0,
|
|
"msg": "Returnvalue of last_transition_condition(condition_a) is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/unittest/test.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 937.900422,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.00016999244689941406
|
|
},
|
|
{
|
|
"args": [
|
|
"False",
|
|
"<class 'bool'>"
|
|
],
|
|
"asctime": "2025-08-14 22:47:19,339",
|
|
"created": 1755204439.3398156,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "equivalency_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 184,
|
|
"message": "Returnvalue of last_transition_condition(condition_c) is correct (Content False and Type is <class 'bool'>).",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"Returnvalue of last_transition_condition(condition_c)",
|
|
"False",
|
|
"<class 'bool'>"
|
|
],
|
|
"asctime": "2025-08-14 22:47:19,339",
|
|
"created": 1755204439.3394709,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_result__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 22,
|
|
"message": "Result (Returnvalue of last_transition_condition(condition_c)): False (<class 'bool'>)",
|
|
"module": "test",
|
|
"msecs": 339.0,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/unittest/test.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 938.182881,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Returnvalue of last_transition_condition(condition_c)",
|
|
"=",
|
|
"False",
|
|
"<class 'bool'>"
|
|
],
|
|
"asctime": "2025-08-14 22:47:19,339",
|
|
"created": 1755204439.3396506,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_expectation__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 26,
|
|
"message": "Expectation (Returnvalue of last_transition_condition(condition_c)): result = False (<class 'bool'>)",
|
|
"module": "test",
|
|
"msecs": 339.0,
|
|
"msg": "Expectation (%s): result %s %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/unittest/test.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 938.362519,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 339.0,
|
|
"msg": "Returnvalue of last_transition_condition(condition_c) is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/unittest/test.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 938.527636,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.00016498565673828125
|
|
}
|
|
],
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.0022649765014648438,
|
|
"time_finished": "2025-08-14 22:47:19,339",
|
|
"time_start": "2025-08-14 22:47:19,337"
|
|
},
|
|
"REQ-0014": {
|
|
"args": null,
|
|
"asctime": "2025-08-14 22:47:19,340",
|
|
"created": 1755204439.3403678,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "testCase",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 331,
|
|
"message": "REQ-0014",
|
|
"module": "__init__",
|
|
"moduleLogger": [],
|
|
"msecs": 340.0,
|
|
"msg": "REQ-0014",
|
|
"name": "__tLogger__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/report/__init__.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 939.079965,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"testcaseLogger": [
|
|
{
|
|
"args": [],
|
|
"asctime": "2025-08-14 22:47:19,341",
|
|
"created": 1755204439.3411734,
|
|
"exc_text": null,
|
|
"filename": "test_interface.py",
|
|
"funcName": "test_previous_state",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 56,
|
|
"message": "Running state machine test sequence.",
|
|
"module": "test_interface",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"StateMachine:",
|
|
"'__init__'",
|
|
"None",
|
|
"'state_a'"
|
|
],
|
|
"asctime": "2025-08-14 22:47:19,340",
|
|
"created": 1755204439.3407044,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__set_state__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 179,
|
|
"message": "StateMachine: State change ('__init__'): None -> 'state_a'",
|
|
"module": "__init__",
|
|
"msecs": 340.0,
|
|
"msg": "%s State change (%s): %s -> %s",
|
|
"name": "state_machine",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/state_machine/__init__.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 939.416448,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"StateMachine:",
|
|
"'condition_a'",
|
|
"'state_a'",
|
|
"'state_b'"
|
|
],
|
|
"asctime": "2025-08-14 22:47:19,340",
|
|
"created": 1755204439.3409805,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__set_state__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 179,
|
|
"message": "StateMachine: State change ('condition_a'): 'state_a' -> 'state_b'",
|
|
"module": "__init__",
|
|
"msecs": 340.0,
|
|
"msg": "%s State change (%s): %s -> %s",
|
|
"name": "state_machine",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/state_machine/__init__.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 939.692601,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 341.0,
|
|
"msg": "Running state machine test sequence.",
|
|
"name": "__tLogger__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/tests/test_interface.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 939.885581,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.00019288063049316406
|
|
},
|
|
{
|
|
"args": [
|
|
"'state_a'",
|
|
"<class 'str'>"
|
|
],
|
|
"asctime": "2025-08-14 22:47:19,341",
|
|
"created": 1755204439.3418322,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "equivalency_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 184,
|
|
"message": "Returnvalue of previous_state() is correct (Content 'state_a' and Type is <class 'str'>).",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"Returnvalue of previous_state()",
|
|
"'state_a'",
|
|
"<class 'str'>"
|
|
],
|
|
"asctime": "2025-08-14 22:47:19,341",
|
|
"created": 1755204439.3414571,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_result__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 22,
|
|
"message": "Result (Returnvalue of previous_state()): 'state_a' (<class 'str'>)",
|
|
"module": "test",
|
|
"msecs": 341.0,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/unittest/test.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 940.169233,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Returnvalue of previous_state()",
|
|
"=",
|
|
"'state_a'",
|
|
"<class 'str'>"
|
|
],
|
|
"asctime": "2025-08-14 22:47:19,341",
|
|
"created": 1755204439.3416588,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_expectation__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 26,
|
|
"message": "Expectation (Returnvalue of previous_state()): result = 'state_a' (<class 'str'>)",
|
|
"module": "test",
|
|
"msecs": 341.0,
|
|
"msg": "Expectation (%s): result %s %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/unittest/test.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 940.370939,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 341.0,
|
|
"msg": "Returnvalue of previous_state() is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/unittest/test.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 940.544234,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.00017333030700683594
|
|
}
|
|
],
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.0014643669128417969,
|
|
"time_finished": "2025-08-14 22:47:19,341",
|
|
"time_start": "2025-08-14 22:47:19,340"
|
|
},
|
|
"REQ-0015": {
|
|
"args": null,
|
|
"asctime": "2025-08-14 22:47:19,342",
|
|
"created": 1755204439.342349,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "testCase",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 331,
|
|
"message": "REQ-0015",
|
|
"module": "__init__",
|
|
"moduleLogger": [],
|
|
"msecs": 342.0,
|
|
"msg": "REQ-0015",
|
|
"name": "__tLogger__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/report/__init__.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 941.061035,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"testcaseLogger": [
|
|
{
|
|
"args": [],
|
|
"asctime": "2025-08-14 22:47:19,343",
|
|
"created": 1755204439.3432124,
|
|
"exc_text": null,
|
|
"filename": "test_interface.py",
|
|
"funcName": "test_previous_state_was",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 63,
|
|
"message": "Running state machine test sequence.",
|
|
"module": "test_interface",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"StateMachine:",
|
|
"'__init__'",
|
|
"None",
|
|
"'state_a'"
|
|
],
|
|
"asctime": "2025-08-14 22:47:19,342",
|
|
"created": 1755204439.3427255,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__set_state__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 179,
|
|
"message": "StateMachine: State change ('__init__'): None -> 'state_a'",
|
|
"module": "__init__",
|
|
"msecs": 342.0,
|
|
"msg": "%s State change (%s): %s -> %s",
|
|
"name": "state_machine",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/state_machine/__init__.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 941.437748,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"StateMachine:",
|
|
"'condition_a'",
|
|
"'state_a'",
|
|
"'state_b'"
|
|
],
|
|
"asctime": "2025-08-14 22:47:19,343",
|
|
"created": 1755204439.3430011,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__set_state__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 179,
|
|
"message": "StateMachine: State change ('condition_a'): 'state_a' -> 'state_b'",
|
|
"module": "__init__",
|
|
"msecs": 343.0,
|
|
"msg": "%s State change (%s): %s -> %s",
|
|
"name": "state_machine",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/state_machine/__init__.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 941.713018,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 343.0,
|
|
"msg": "Running state machine test sequence.",
|
|
"name": "__tLogger__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/tests/test_interface.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 941.92423,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.00021123886108398438
|
|
},
|
|
{
|
|
"args": [
|
|
"True",
|
|
"<class 'bool'>"
|
|
],
|
|
"asctime": "2025-08-14 22:47:19,343",
|
|
"created": 1755204439.3438795,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "equivalency_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 184,
|
|
"message": "Returnvalue of previous_state_was(state_a) is correct (Content True and Type is <class 'bool'>).",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"Returnvalue of previous_state_was(state_a)",
|
|
"True",
|
|
"<class 'bool'>"
|
|
],
|
|
"asctime": "2025-08-14 22:47:19,343",
|
|
"created": 1755204439.3435233,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_result__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 22,
|
|
"message": "Result (Returnvalue of previous_state_was(state_a)): True (<class 'bool'>)",
|
|
"module": "test",
|
|
"msecs": 343.0,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/unittest/test.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 942.235273,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Returnvalue of previous_state_was(state_a)",
|
|
"=",
|
|
"True",
|
|
"<class 'bool'>"
|
|
],
|
|
"asctime": "2025-08-14 22:47:19,343",
|
|
"created": 1755204439.3437104,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_expectation__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 26,
|
|
"message": "Expectation (Returnvalue of previous_state_was(state_a)): result = True (<class 'bool'>)",
|
|
"module": "test",
|
|
"msecs": 343.0,
|
|
"msg": "Expectation (%s): result %s %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/unittest/test.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 942.422437,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 343.0,
|
|
"msg": "Returnvalue of previous_state_was(state_a) is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/unittest/test.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 942.591437,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.0001690387725830078
|
|
},
|
|
{
|
|
"args": [
|
|
"False",
|
|
"<class 'bool'>"
|
|
],
|
|
"asctime": "2025-08-14 22:47:19,344",
|
|
"created": 1755204439.344491,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "equivalency_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 184,
|
|
"message": "Returnvalue of previous_state_was(state_b) is correct (Content False and Type is <class 'bool'>).",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"Returnvalue of previous_state_was(state_b)",
|
|
"False",
|
|
"<class 'bool'>"
|
|
],
|
|
"asctime": "2025-08-14 22:47:19,344",
|
|
"created": 1755204439.3441522,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_result__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 22,
|
|
"message": "Result (Returnvalue of previous_state_was(state_b)): False (<class 'bool'>)",
|
|
"module": "test",
|
|
"msecs": 344.0,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/unittest/test.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 942.864228,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Returnvalue of previous_state_was(state_b)",
|
|
"=",
|
|
"False",
|
|
"<class 'bool'>"
|
|
],
|
|
"asctime": "2025-08-14 22:47:19,344",
|
|
"created": 1755204439.3443265,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_expectation__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 26,
|
|
"message": "Expectation (Returnvalue of previous_state_was(state_b)): result = False (<class 'bool'>)",
|
|
"module": "test",
|
|
"msecs": 344.0,
|
|
"msg": "Expectation (%s): result %s %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/unittest/test.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 943.038371,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 344.0,
|
|
"msg": "Returnvalue of previous_state_was(state_b) is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/unittest/test.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 943.203115,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.00016450881958007812
|
|
}
|
|
],
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.0021419525146484375,
|
|
"time_finished": "2025-08-14 22:47:19,344",
|
|
"time_start": "2025-08-14 22:47:19,342"
|
|
},
|
|
"REQ-0016": {
|
|
"args": null,
|
|
"asctime": "2025-08-14 22:47:19,345",
|
|
"created": 1755204439.3450077,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "testCase",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 331,
|
|
"message": "REQ-0016",
|
|
"module": "__init__",
|
|
"moduleLogger": [],
|
|
"msecs": 345.0,
|
|
"msg": "REQ-0016",
|
|
"name": "__tLogger__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/report/__init__.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 943.71974,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"testcaseLogger": [
|
|
{
|
|
"args": [],
|
|
"asctime": "2025-08-14 22:47:20,096",
|
|
"created": 1755204440.096947,
|
|
"exc_text": null,
|
|
"filename": "test_interface.py",
|
|
"funcName": "test_previous_state_duration",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 76,
|
|
"message": "Running state machine test sequence.",
|
|
"module": "test_interface",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"StateMachine:",
|
|
"'__init__'",
|
|
"None",
|
|
"'state_a'"
|
|
],
|
|
"asctime": "2025-08-14 22:47:19,345",
|
|
"created": 1755204439.3453965,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__set_state__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 179,
|
|
"message": "StateMachine: State change ('__init__'): None -> 'state_a'",
|
|
"module": "__init__",
|
|
"msecs": 345.0,
|
|
"msg": "%s State change (%s): %s -> %s",
|
|
"name": "state_machine",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/state_machine/__init__.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 944.108421,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"StateMachine:",
|
|
"'condition_a'",
|
|
"'state_a'",
|
|
"'state_b'"
|
|
],
|
|
"asctime": "2025-08-14 22:47:19,345",
|
|
"created": 1755204439.34567,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__set_state__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 179,
|
|
"message": "StateMachine: State change ('condition_a'): 'state_a' -> 'state_b'",
|
|
"module": "__init__",
|
|
"msecs": 345.0,
|
|
"msg": "%s State change (%s): %s -> %s",
|
|
"name": "state_machine",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/state_machine/__init__.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 944.381882,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
0.75
|
|
],
|
|
"asctime": "2025-08-14 22:47:19,345",
|
|
"created": 1755204439.3458574,
|
|
"exc_text": null,
|
|
"filename": "test_interface.py",
|
|
"funcName": "test_previous_state_duration",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 73,
|
|
"message": "Waiting for 0.75s",
|
|
"module": "test_interface",
|
|
"msecs": 345.0,
|
|
"msg": "Waiting for %.2fs",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/tests/test_interface.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 944.569213,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"StateMachine:",
|
|
"'condition_b'",
|
|
"'state_b'",
|
|
"'state_a'"
|
|
],
|
|
"asctime": "2025-08-14 22:47:20,096",
|
|
"created": 1755204440.0965605,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__set_state__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 179,
|
|
"message": "StateMachine: State change ('condition_b'): 'state_b' -> 'state_a'",
|
|
"module": "__init__",
|
|
"msecs": 96.0,
|
|
"msg": "%s State change (%s): %s -> %s",
|
|
"name": "state_machine",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/state_machine/__init__.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1695.272486,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 96.0,
|
|
"msg": "Running state machine test sequence.",
|
|
"name": "__tLogger__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/tests/test_interface.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1695.658853,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.0003864765167236328
|
|
},
|
|
{
|
|
"args": [
|
|
"0.7510614395141602",
|
|
"0.7",
|
|
"0.8",
|
|
"<class 'float'>"
|
|
],
|
|
"asctime": "2025-08-14 22:47:20,097",
|
|
"created": 1755204440.0979578,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "range_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 306,
|
|
"message": "Return Value of previous_state_duration() is correct (Content 0.7510614395141602 in [0.7 ... 0.8] and Type is <class 'float'>).",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"Return Value of previous_state_duration()",
|
|
"0.7510614395141602",
|
|
"<class 'float'>"
|
|
],
|
|
"asctime": "2025-08-14 22:47:20,097",
|
|
"created": 1755204440.0974505,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_result__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 22,
|
|
"message": "Result (Return Value of previous_state_duration()): 0.7510614395141602 (<class 'float'>)",
|
|
"module": "test",
|
|
"msecs": 97.0,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/unittest/test.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1696.162551,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Return Value of previous_state_duration()",
|
|
"0.7",
|
|
"0.8"
|
|
],
|
|
"asctime": "2025-08-14 22:47:20,097",
|
|
"created": 1755204440.097704,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_expectation_range__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 46,
|
|
"message": "Expectation (Return Value of previous_state_duration()): 0.7 <= result <= 0.8",
|
|
"module": "test",
|
|
"msecs": 97.0,
|
|
"msg": "Expectation (%s): %s <= result <= %s",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/unittest/test.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1696.415993,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 97.0,
|
|
"msg": "Return Value of previous_state_duration() is correct (Content %s in [%s ... %s] and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/unittest/test.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1696.669867,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.00025391578674316406
|
|
}
|
|
],
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.7529501914978027,
|
|
"time_finished": "2025-08-14 22:47:20,097",
|
|
"time_start": "2025-08-14 22:47:19,345"
|
|
},
|
|
"REQ-0017": {
|
|
"args": null,
|
|
"asctime": "2025-08-14 22:47:18,455",
|
|
"created": 1755204438.4555733,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "testCase",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 331,
|
|
"message": "REQ-0017",
|
|
"module": "__init__",
|
|
"moduleLogger": [],
|
|
"msecs": 455.0,
|
|
"msg": "REQ-0017",
|
|
"name": "__tLogger__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/report/__init__.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 54.285211,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"testcaseLogger": [
|
|
{
|
|
"args": [],
|
|
"asctime": "2025-08-14 22:47:18,455",
|
|
"created": 1755204438.4557033,
|
|
"exc_text": null,
|
|
"filename": "test_transitions.py",
|
|
"funcName": "transitions",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 44,
|
|
"message": "Initialising state machine with state_a",
|
|
"module": "test_transitions",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"StateMachine:",
|
|
"'__init__'",
|
|
"None",
|
|
"'state_a'"
|
|
],
|
|
"asctime": "2025-08-14 22:47:18,455",
|
|
"created": 1755204438.4556642,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__set_state__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 179,
|
|
"message": "StateMachine: State change ('__init__'): None -> 'state_a'",
|
|
"module": "__init__",
|
|
"msecs": 455.0,
|
|
"msg": "%s State change (%s): %s -> %s",
|
|
"name": "state_machine",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/state_machine/__init__.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 54.37622,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 455.0,
|
|
"msg": "Initialising state machine with state_a",
|
|
"name": "__tLogger__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/tests/test_transitions.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 54.415414,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 3.910064697265625e-05
|
|
},
|
|
{
|
|
"args": [
|
|
"'state_a'",
|
|
"<class 'str'>"
|
|
],
|
|
"asctime": "2025-08-14 22:47:18,455",
|
|
"created": 1755204438.45582,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "equivalency_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 184,
|
|
"message": "Initial state after Initialisation is correct (Content 'state_a' and Type is <class 'str'>).",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"Initial state after Initialisation",
|
|
"'state_a'",
|
|
"<class 'str'>"
|
|
],
|
|
"asctime": "2025-08-14 22:47:18,455",
|
|
"created": 1755204438.4557574,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_result__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 22,
|
|
"message": "Result (Initial state after Initialisation): 'state_a' (<class 'str'>)",
|
|
"module": "test",
|
|
"msecs": 455.0,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/unittest/test.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 54.469335,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Initial state after Initialisation",
|
|
"=",
|
|
"'state_a'",
|
|
"<class 'str'>"
|
|
],
|
|
"asctime": "2025-08-14 22:47:18,455",
|
|
"created": 1755204438.45579,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_expectation__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 26,
|
|
"message": "Expectation (Initial state after Initialisation): result = 'state_a' (<class 'str'>)",
|
|
"module": "test",
|
|
"msecs": 455.0,
|
|
"msg": "Expectation (%s): result %s %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/unittest/test.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 54.502097,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 455.0,
|
|
"msg": "Initial state after Initialisation is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/unittest/test.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 54.532086,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 3.0040740966796875e-05
|
|
},
|
|
{
|
|
"args": [],
|
|
"asctime": "2025-08-14 22:47:18,455",
|
|
"created": 1755204438.4559453,
|
|
"exc_text": null,
|
|
"filename": "test_transitions.py",
|
|
"funcName": "transitions",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 47,
|
|
"message": "Work routine executed the 1st time to do the state change. Defined Transitions are: True->state_b (0.0s); False->state_c (0.0s)",
|
|
"module": "test_transitions",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"StateMachine:",
|
|
"'condition_true'",
|
|
"'state_a'",
|
|
"'state_b'"
|
|
],
|
|
"asctime": "2025-08-14 22:47:18,455",
|
|
"created": 1755204438.455894,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__set_state__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 179,
|
|
"message": "StateMachine: State change ('condition_true'): 'state_a' -> 'state_b'",
|
|
"module": "__init__",
|
|
"msecs": 455.0,
|
|
"msg": "%s State change (%s): %s -> %s",
|
|
"name": "state_machine",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/state_machine/__init__.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 54.606011,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 455.0,
|
|
"msg": "Work routine executed the 1st time to do the state change. Defined Transitions are: True->state_b (0.0s); False->state_c (0.0s)",
|
|
"name": "__tLogger__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/tests/test_transitions.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 54.657215,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 5.125999450683594e-05
|
|
},
|
|
{
|
|
"args": [
|
|
"'state_b'",
|
|
"<class 'str'>"
|
|
],
|
|
"asctime": "2025-08-14 22:47:18,456",
|
|
"created": 1755204438.4560602,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "equivalency_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 184,
|
|
"message": "State after 1st execution of work method is correct (Content 'state_b' and Type is <class 'str'>).",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"State after 1st execution of work method",
|
|
"'state_b'",
|
|
"<class 'str'>"
|
|
],
|
|
"asctime": "2025-08-14 22:47:18,455",
|
|
"created": 1755204438.4559968,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_result__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 22,
|
|
"message": "Result (State after 1st execution of work method): 'state_b' (<class 'str'>)",
|
|
"module": "test",
|
|
"msecs": 455.0,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/unittest/test.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 54.708705,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"State after 1st execution of work method",
|
|
"=",
|
|
"'state_b'",
|
|
"<class 'str'>"
|
|
],
|
|
"asctime": "2025-08-14 22:47:18,456",
|
|
"created": 1755204438.4560306,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_expectation__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 26,
|
|
"message": "Expectation (State after 1st execution of work method): result = 'state_b' (<class 'str'>)",
|
|
"module": "test",
|
|
"msecs": 456.0,
|
|
"msg": "Expectation (%s): result %s %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/unittest/test.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 54.742821,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 456.0,
|
|
"msg": "State after 1st execution of work method is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/unittest/test.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 54.772288,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 2.956390380859375e-05
|
|
},
|
|
{
|
|
"args": [],
|
|
"asctime": "2025-08-14 22:47:18,456",
|
|
"created": 1755204438.45615,
|
|
"exc_text": null,
|
|
"filename": "test_transitions.py",
|
|
"funcName": "transitions",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 50,
|
|
"message": "Work routine executed the 2nd time to do the state change. Defined Transitions are: False->state_a (0.0s); True->state_c (0.0s)",
|
|
"module": "test_transitions",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"StateMachine:",
|
|
"'condition_true'",
|
|
"'state_b'",
|
|
"'state_c'"
|
|
],
|
|
"asctime": "2025-08-14 22:47:18,456",
|
|
"created": 1755204438.4561157,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__set_state__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 179,
|
|
"message": "StateMachine: State change ('condition_true'): 'state_b' -> 'state_c'",
|
|
"module": "__init__",
|
|
"msecs": 456.0,
|
|
"msg": "%s State change (%s): %s -> %s",
|
|
"name": "state_machine",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/state_machine/__init__.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 54.827734,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 456.0,
|
|
"msg": "Work routine executed the 2nd time to do the state change. Defined Transitions are: False->state_a (0.0s); True->state_c (0.0s)",
|
|
"name": "__tLogger__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/tests/test_transitions.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 54.862054,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 3.4332275390625e-05
|
|
},
|
|
{
|
|
"args": [
|
|
"'state_c'",
|
|
"<class 'str'>"
|
|
],
|
|
"asctime": "2025-08-14 22:47:18,456",
|
|
"created": 1755204438.4562597,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "equivalency_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 184,
|
|
"message": "State after 2nd execution of work method is correct (Content 'state_c' and Type is <class 'str'>).",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"State after 2nd execution of work method",
|
|
"'state_c'",
|
|
"<class 'str'>"
|
|
],
|
|
"asctime": "2025-08-14 22:47:18,456",
|
|
"created": 1755204438.4561987,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_result__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 22,
|
|
"message": "Result (State after 2nd execution of work method): 'state_c' (<class 'str'>)",
|
|
"module": "test",
|
|
"msecs": 456.0,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/unittest/test.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 54.910729,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"State after 2nd execution of work method",
|
|
"=",
|
|
"'state_c'",
|
|
"<class 'str'>"
|
|
],
|
|
"asctime": "2025-08-14 22:47:18,456",
|
|
"created": 1755204438.4562302,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_expectation__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 26,
|
|
"message": "Expectation (State after 2nd execution of work method): result = 'state_c' (<class 'str'>)",
|
|
"module": "test",
|
|
"msecs": 456.0,
|
|
"msg": "Expectation (%s): result %s %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/unittest/test.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 54.942101,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 456.0,
|
|
"msg": "State after 2nd execution of work method is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/unittest/test.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 54.971768,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 2.956390380859375e-05
|
|
},
|
|
{
|
|
"args": [],
|
|
"asctime": "2025-08-14 22:47:18,456",
|
|
"created": 1755204438.4563112,
|
|
"exc_text": null,
|
|
"filename": "test_transitions.py",
|
|
"funcName": "transitions",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 53,
|
|
"message": "Work routine executed the 3rd time with no effect. No Transitions starting from state_c (dead end)",
|
|
"module": "test_transitions",
|
|
"moduleLogger": [],
|
|
"msecs": 456.0,
|
|
"msg": "Work routine executed the 3rd time with no effect. No Transitions starting from state_c (dead end)",
|
|
"name": "__tLogger__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/tests/test_transitions.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 55.023197,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.0
|
|
},
|
|
{
|
|
"args": [
|
|
"'state_c'",
|
|
"<class 'str'>"
|
|
],
|
|
"asctime": "2025-08-14 22:47:18,456",
|
|
"created": 1755204438.4564211,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "equivalency_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 184,
|
|
"message": "State after 3rd execution of work method is correct (Content 'state_c' and Type is <class 'str'>).",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"State after 3rd execution of work method",
|
|
"'state_c'",
|
|
"<class 'str'>"
|
|
],
|
|
"asctime": "2025-08-14 22:47:18,456",
|
|
"created": 1755204438.456361,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_result__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 22,
|
|
"message": "Result (State after 3rd execution of work method): 'state_c' (<class 'str'>)",
|
|
"module": "test",
|
|
"msecs": 456.0,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/unittest/test.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 55.073095,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"State after 3rd execution of work method",
|
|
"=",
|
|
"'state_c'",
|
|
"<class 'str'>"
|
|
],
|
|
"asctime": "2025-08-14 22:47:18,456",
|
|
"created": 1755204438.4563925,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_expectation__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 26,
|
|
"message": "Expectation (State after 3rd execution of work method): result = 'state_c' (<class 'str'>)",
|
|
"module": "test",
|
|
"msecs": 456.0,
|
|
"msg": "Expectation (%s): result %s %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/unittest/test.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 55.10444,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 456.0,
|
|
"msg": "State after 3rd execution of work method is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/unittest/test.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 55.133108,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 2.86102294921875e-05
|
|
}
|
|
],
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.0008478164672851562,
|
|
"time_finished": "2025-08-14 22:47:18,456",
|
|
"time_start": "2025-08-14 22:47:18,455"
|
|
},
|
|
"REQ-0018": {
|
|
"args": null,
|
|
"asctime": "2025-08-14 22:47:18,456",
|
|
"created": 1755204438.4565215,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "testCase",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 331,
|
|
"message": "REQ-0018",
|
|
"module": "__init__",
|
|
"moduleLogger": [],
|
|
"msecs": 456.0,
|
|
"msg": "REQ-0018",
|
|
"name": "__tLogger__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/report/__init__.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 55.233597,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"testcaseLogger": [
|
|
{
|
|
"args": [],
|
|
"asctime": "2025-08-14 22:47:18,456",
|
|
"created": 1755204438.456669,
|
|
"exc_text": null,
|
|
"filename": "test_transitions.py",
|
|
"funcName": "timing",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 84,
|
|
"message": "Initialising state machine with state_a",
|
|
"module": "test_transitions",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"StateMachine:",
|
|
"'__init__'",
|
|
"None",
|
|
"'state_a'"
|
|
],
|
|
"asctime": "2025-08-14 22:47:18,456",
|
|
"created": 1755204438.4566262,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__set_state__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 179,
|
|
"message": "StateMachine: State change ('__init__'): None -> 'state_a'",
|
|
"module": "__init__",
|
|
"msecs": 456.0,
|
|
"msg": "%s State change (%s): %s -> %s",
|
|
"name": "state_machine",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/state_machine/__init__.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 55.338056,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 456.0,
|
|
"msg": "Initialising state machine with state_a",
|
|
"name": "__tLogger__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/tests/test_transitions.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 55.381085,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 4.291534423828125e-05
|
|
},
|
|
{
|
|
"args": [
|
|
"'state_a'",
|
|
"<class 'str'>"
|
|
],
|
|
"asctime": "2025-08-14 22:47:18,456",
|
|
"created": 1755204438.456787,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "equivalency_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 184,
|
|
"message": "Initial state after Initialisation is correct (Content 'state_a' and Type is <class 'str'>).",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"Initial state after Initialisation",
|
|
"'state_a'",
|
|
"<class 'str'>"
|
|
],
|
|
"asctime": "2025-08-14 22:47:18,456",
|
|
"created": 1755204438.4567225,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_result__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 22,
|
|
"message": "Result (Initial state after Initialisation): 'state_a' (<class 'str'>)",
|
|
"module": "test",
|
|
"msecs": 456.0,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/unittest/test.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 55.434427,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Initial state after Initialisation",
|
|
"=",
|
|
"'state_a'",
|
|
"<class 'str'>"
|
|
],
|
|
"asctime": "2025-08-14 22:47:18,456",
|
|
"created": 1755204438.4567559,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_expectation__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 26,
|
|
"message": "Expectation (Initial state after Initialisation): result = 'state_a' (<class 'str'>)",
|
|
"module": "test",
|
|
"msecs": 456.0,
|
|
"msg": "Expectation (%s): result %s %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/unittest/test.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 55.467922,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 456.0,
|
|
"msg": "Initial state after Initialisation is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/unittest/test.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 55.49916,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 3.123283386230469e-05
|
|
},
|
|
{
|
|
"args": [
|
|
0.16
|
|
],
|
|
"asctime": "2025-08-14 22:47:18,607",
|
|
"created": 1755204438.60724,
|
|
"exc_text": null,
|
|
"filename": "test_transitions.py",
|
|
"funcName": "timing",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 92,
|
|
"message": "Waiting for 0.160s or state change",
|
|
"module": "test_transitions",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"StateMachine:",
|
|
"'condition_true'",
|
|
"'state_a'",
|
|
"'state_b'"
|
|
],
|
|
"asctime": "2025-08-14 22:47:18,606",
|
|
"created": 1755204438.6069913,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__set_state__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 179,
|
|
"message": "StateMachine: State change ('condition_true'): 'state_a' -> 'state_b'",
|
|
"module": "__init__",
|
|
"msecs": 606.0,
|
|
"msg": "%s State change (%s): %s -> %s",
|
|
"name": "state_machine",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/state_machine/__init__.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 205.703272,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 607.0,
|
|
"msg": "Waiting for %.3fs or state change",
|
|
"name": "__tLogger__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/tests/test_transitions.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 205.951938,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.0002486705780029297
|
|
},
|
|
{
|
|
"args": [
|
|
"'state_b'",
|
|
"<class 'str'>"
|
|
],
|
|
"asctime": "2025-08-14 22:47:18,607",
|
|
"created": 1755204438.607453,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "equivalency_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 184,
|
|
"message": "State after 1st cycle is correct (Content 'state_b' and Type is <class 'str'>).",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"State after 1st cycle",
|
|
"'state_b'",
|
|
"<class 'str'>"
|
|
],
|
|
"asctime": "2025-08-14 22:47:18,607",
|
|
"created": 1755204438.6073873,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_result__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 22,
|
|
"message": "Result (State after 1st cycle): 'state_b' (<class 'str'>)",
|
|
"module": "test",
|
|
"msecs": 607.0,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/unittest/test.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 206.099426,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"State after 1st cycle",
|
|
"=",
|
|
"'state_b'",
|
|
"<class 'str'>"
|
|
],
|
|
"asctime": "2025-08-14 22:47:18,607",
|
|
"created": 1755204438.6074224,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_expectation__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 26,
|
|
"message": "Expectation (State after 1st cycle): result = 'state_b' (<class 'str'>)",
|
|
"module": "test",
|
|
"msecs": 607.0,
|
|
"msg": "Expectation (%s): result %s %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/unittest/test.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 206.13454,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 607.0,
|
|
"msg": "State after 1st cycle is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/unittest/test.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 206.165304,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 3.075599670410156e-05
|
|
},
|
|
{
|
|
"args": [
|
|
"0.1504039764404297",
|
|
"0.145",
|
|
"0.155",
|
|
"<class 'float'>"
|
|
],
|
|
"asctime": "2025-08-14 22:47:18,607",
|
|
"created": 1755204438.607577,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "range_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 306,
|
|
"message": "Transition time after 1st cycle is correct (Content 0.1504039764404297 in [0.145 ... 0.155] and Type is <class 'float'>).",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"Transition time after 1st cycle",
|
|
"0.1504039764404297",
|
|
"<class 'float'>"
|
|
],
|
|
"asctime": "2025-08-14 22:47:18,607",
|
|
"created": 1755204438.6075082,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_result__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 22,
|
|
"message": "Result (Transition time after 1st cycle): 0.1504039764404297 (<class 'float'>)",
|
|
"module": "test",
|
|
"msecs": 607.0,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/unittest/test.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 206.220175,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Transition time after 1st cycle",
|
|
"0.145",
|
|
"0.155"
|
|
],
|
|
"asctime": "2025-08-14 22:47:18,607",
|
|
"created": 1755204438.6075408,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_expectation_range__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 46,
|
|
"message": "Expectation (Transition time after 1st cycle): 0.145 <= result <= 0.155",
|
|
"module": "test",
|
|
"msecs": 607.0,
|
|
"msg": "Expectation (%s): %s <= result <= %s",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/unittest/test.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 206.252822,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 607.0,
|
|
"msg": "Transition time after 1st cycle is correct (Content %s in [%s ... %s] and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/unittest/test.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 206.289032,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 3.62396240234375e-05
|
|
},
|
|
{
|
|
"args": [
|
|
0.235
|
|
],
|
|
"asctime": "2025-08-14 22:47:18,833",
|
|
"created": 1755204438.8330328,
|
|
"exc_text": null,
|
|
"filename": "test_transitions.py",
|
|
"funcName": "timing",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 109,
|
|
"message": "Waiting for 0.235s or state change",
|
|
"module": "test_transitions",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"StateMachine:",
|
|
"'condition_true'",
|
|
"'state_b'",
|
|
"'state_c'"
|
|
],
|
|
"asctime": "2025-08-14 22:47:18,832",
|
|
"created": 1755204438.832791,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__set_state__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 179,
|
|
"message": "StateMachine: State change ('condition_true'): 'state_b' -> 'state_c'",
|
|
"module": "__init__",
|
|
"msecs": 832.0,
|
|
"msg": "%s State change (%s): %s -> %s",
|
|
"name": "state_machine",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/state_machine/__init__.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 431.503033,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 833.0,
|
|
"msg": "Waiting for %.3fs or state change",
|
|
"name": "__tLogger__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/tests/test_transitions.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 431.744984,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.00024175643920898438
|
|
},
|
|
{
|
|
"args": [
|
|
"'state_c'",
|
|
"<class 'str'>"
|
|
],
|
|
"asctime": "2025-08-14 22:47:18,833",
|
|
"created": 1755204438.8331993,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "equivalency_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 184,
|
|
"message": "State after 2nd cycle is correct (Content 'state_c' and Type is <class 'str'>).",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"State after 2nd cycle",
|
|
"'state_c'",
|
|
"<class 'str'>"
|
|
],
|
|
"asctime": "2025-08-14 22:47:18,833",
|
|
"created": 1755204438.8331347,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_result__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 22,
|
|
"message": "Result (State after 2nd cycle): 'state_c' (<class 'str'>)",
|
|
"module": "test",
|
|
"msecs": 833.0,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/unittest/test.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 431.84662,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"State after 2nd cycle",
|
|
"=",
|
|
"'state_c'",
|
|
"<class 'str'>"
|
|
],
|
|
"asctime": "2025-08-14 22:47:18,833",
|
|
"created": 1755204438.8331695,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_expectation__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 26,
|
|
"message": "Expectation (State after 2nd cycle): result = 'state_c' (<class 'str'>)",
|
|
"module": "test",
|
|
"msecs": 833.0,
|
|
"msg": "Expectation (%s): result %s %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/unittest/test.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 431.881532,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 833.0,
|
|
"msg": "State after 2nd cycle is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/unittest/test.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 431.911349,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 2.9802322387695312e-05
|
|
},
|
|
{
|
|
"args": [
|
|
"0.1502220630645752",
|
|
"0.145",
|
|
"0.155",
|
|
"<class 'float'>"
|
|
],
|
|
"asctime": "2025-08-14 22:47:18,833",
|
|
"created": 1755204438.8333116,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "range_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 306,
|
|
"message": "Transition time after 2nd cycle is correct (Content 0.1502220630645752 in [0.145 ... 0.155] and Type is <class 'float'>).",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"Transition time after 2nd cycle",
|
|
"0.1502220630645752",
|
|
"<class 'float'>"
|
|
],
|
|
"asctime": "2025-08-14 22:47:18,833",
|
|
"created": 1755204438.8332508,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_result__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 22,
|
|
"message": "Result (Transition time after 2nd cycle): 0.1502220630645752 (<class 'float'>)",
|
|
"module": "test",
|
|
"msecs": 833.0,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/unittest/test.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 431.962724,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Transition time after 2nd cycle",
|
|
"0.145",
|
|
"0.155"
|
|
],
|
|
"asctime": "2025-08-14 22:47:18,833",
|
|
"created": 1755204438.8332813,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_expectation_range__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 46,
|
|
"message": "Expectation (Transition time after 2nd cycle): 0.145 <= result <= 0.155",
|
|
"module": "test",
|
|
"msecs": 833.0,
|
|
"msg": "Expectation (%s): %s <= result <= %s",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/unittest/test.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 431.993169,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 833.0,
|
|
"msg": "Transition time after 2nd cycle is correct (Content %s in [%s ... %s] and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/unittest/test.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 432.023611,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 3.0279159545898438e-05
|
|
},
|
|
{
|
|
"args": [
|
|
"0.22541022300720215",
|
|
"0.21999999999999997",
|
|
"0.22999999999999998",
|
|
"<class 'float'>"
|
|
],
|
|
"asctime": "2025-08-14 22:47:18,833",
|
|
"created": 1755204438.8334284,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "range_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 306,
|
|
"message": "Previous state duration is correct (Content 0.22541022300720215 in [0.21999999999999997 ... 0.22999999999999998] and Type is <class 'float'>).",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"Previous state duration",
|
|
"0.22541022300720215",
|
|
"<class 'float'>"
|
|
],
|
|
"asctime": "2025-08-14 22:47:18,833",
|
|
"created": 1755204438.8333573,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_result__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 22,
|
|
"message": "Result (Previous state duration): 0.22541022300720215 (<class 'float'>)",
|
|
"module": "test",
|
|
"msecs": 833.0,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/unittest/test.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 432.069274,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Previous state duration",
|
|
"0.21999999999999997",
|
|
"0.22999999999999998"
|
|
],
|
|
"asctime": "2025-08-14 22:47:18,833",
|
|
"created": 1755204438.8333879,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_expectation_range__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 46,
|
|
"message": "Expectation (Previous state duration): 0.21999999999999997 <= result <= 0.22999999999999998",
|
|
"module": "test",
|
|
"msecs": 833.0,
|
|
"msg": "Expectation (%s): %s <= result <= %s",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/unittest/test.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 432.099731,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 833.0,
|
|
"msg": "Previous state duration is correct (Content %s in [%s ... %s] and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/unittest/test.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 432.140546,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 4.0531158447265625e-05
|
|
}
|
|
],
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.3769068717956543,
|
|
"time_finished": "2025-08-14 22:47:18,833",
|
|
"time_start": "2025-08-14 22:47:18,456"
|
|
},
|
|
"REQ-0019": {
|
|
"args": null,
|
|
"asctime": "2025-08-14 22:47:18,833",
|
|
"created": 1755204438.8335488,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "testCase",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 331,
|
|
"message": "REQ-0019",
|
|
"module": "__init__",
|
|
"moduleLogger": [],
|
|
"msecs": 833.0,
|
|
"msg": "REQ-0019",
|
|
"name": "__tLogger__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/report/__init__.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 432.260738,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"testcaseLogger": [
|
|
{
|
|
"args": [
|
|
0.151,
|
|
0.15
|
|
],
|
|
"asctime": "2025-08-14 22:47:18,833",
|
|
"created": 1755204438.833678,
|
|
"exc_text": null,
|
|
"filename": "test_transitions.py",
|
|
"funcName": "priorisation",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 136,
|
|
"message": "Initialising state machine with state_a, a transition to state_b after 0.151s and a transition to state_c after 0.150s",
|
|
"module": "test_transitions",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"StateMachine:",
|
|
"'__init__'",
|
|
"None",
|
|
"'state_a'"
|
|
],
|
|
"asctime": "2025-08-14 22:47:18,833",
|
|
"created": 1755204438.8336425,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__set_state__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 179,
|
|
"message": "StateMachine: State change ('__init__'): None -> 'state_a'",
|
|
"module": "__init__",
|
|
"msecs": 833.0,
|
|
"msg": "%s State change (%s): %s -> %s",
|
|
"name": "state_machine",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/state_machine/__init__.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 432.354514,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 833.0,
|
|
"msg": "Initialising state machine with state_a, a transition to state_b after %.03fs and a transition to state_c after %.03fs",
|
|
"name": "__tLogger__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/tests/test_transitions.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 432.390159,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 3.552436828613281e-05
|
|
},
|
|
{
|
|
"args": [
|
|
"'state_a'",
|
|
"<class 'str'>"
|
|
],
|
|
"asctime": "2025-08-14 22:47:18,833",
|
|
"created": 1755204438.8337862,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "equivalency_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 184,
|
|
"message": "Initial state after Initialisation is correct (Content 'state_a' and Type is <class 'str'>).",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"Initial state after Initialisation",
|
|
"'state_a'",
|
|
"<class 'str'>"
|
|
],
|
|
"asctime": "2025-08-14 22:47:18,833",
|
|
"created": 1755204438.833726,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_result__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 22,
|
|
"message": "Result (Initial state after Initialisation): 'state_a' (<class 'str'>)",
|
|
"module": "test",
|
|
"msecs": 833.0,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/unittest/test.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 432.437953,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Initial state after Initialisation",
|
|
"=",
|
|
"'state_a'",
|
|
"<class 'str'>"
|
|
],
|
|
"asctime": "2025-08-14 22:47:18,833",
|
|
"created": 1755204438.8337593,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_expectation__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 26,
|
|
"message": "Expectation (Initial state after Initialisation): result = 'state_a' (<class 'str'>)",
|
|
"module": "test",
|
|
"msecs": 833.0,
|
|
"msg": "Expectation (%s): result %s %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/unittest/test.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 432.471148,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 833.0,
|
|
"msg": "Initial state after Initialisation is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/unittest/test.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 432.498475,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 2.6941299438476562e-05
|
|
},
|
|
{
|
|
"args": [
|
|
0.3
|
|
],
|
|
"asctime": "2025-08-14 22:47:19,077",
|
|
"created": 1755204439.0771682,
|
|
"exc_text": null,
|
|
"filename": "test_transitions.py",
|
|
"funcName": "priorisation",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 144,
|
|
"message": "Waiting for 0.300s or state change",
|
|
"module": "test_transitions",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
3.0994415283203125e-06
|
|
],
|
|
"asctime": "2025-08-14 22:47:18,833",
|
|
"created": 1755204438.8338318,
|
|
"exc_text": null,
|
|
"filename": "test_transitions.py",
|
|
"funcName": "priorisation",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 141,
|
|
"message": "Executing method work after 0.000s",
|
|
"module": "test_transitions",
|
|
"msecs": 833.0,
|
|
"msg": "Executing method work after %.03fs",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/tests/test_transitions.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 432.543649,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
0.06031656265258789
|
|
],
|
|
"asctime": "2025-08-14 22:47:18,894",
|
|
"created": 1755204438.8942258,
|
|
"exc_text": null,
|
|
"filename": "test_transitions.py",
|
|
"funcName": "priorisation",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 141,
|
|
"message": "Executing method work after 0.060s",
|
|
"module": "test_transitions",
|
|
"msecs": 894.0,
|
|
"msg": "Executing method work after %.03fs",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/tests/test_transitions.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 492.938007,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
0.12125420570373535
|
|
],
|
|
"asctime": "2025-08-14 22:47:18,955",
|
|
"created": 1755204438.9551744,
|
|
"exc_text": null,
|
|
"filename": "test_transitions.py",
|
|
"funcName": "priorisation",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 141,
|
|
"message": "Executing method work after 0.121s",
|
|
"module": "test_transitions",
|
|
"msecs": 955.0,
|
|
"msg": "Executing method work after %.03fs",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/tests/test_transitions.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 553.886281,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
0.1819612979888916
|
|
],
|
|
"asctime": "2025-08-14 22:47:19,015",
|
|
"created": 1755204439.015889,
|
|
"exc_text": null,
|
|
"filename": "test_transitions.py",
|
|
"funcName": "priorisation",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 141,
|
|
"message": "Executing method work after 0.182s",
|
|
"module": "test_transitions",
|
|
"msecs": 15.0,
|
|
"msg": "Executing method work after %.03fs",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/tests/test_transitions.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 614.600848,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"StateMachine:",
|
|
"'condition_true'",
|
|
"'state_a'",
|
|
"'state_c'"
|
|
],
|
|
"asctime": "2025-08-14 22:47:19,016",
|
|
"created": 1755204439.0164058,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__set_state__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 179,
|
|
"message": "StateMachine: State change ('condition_true'): 'state_a' -> 'state_c'",
|
|
"module": "__init__",
|
|
"msecs": 16.0,
|
|
"msg": "%s State change (%s): %s -> %s",
|
|
"name": "state_machine",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/state_machine/__init__.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 615.11784,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 77.0,
|
|
"msg": "Waiting for %.3fs or state change",
|
|
"name": "__tLogger__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/tests/test_transitions.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 675.880007,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.06076240539550781
|
|
},
|
|
{
|
|
"args": [
|
|
"'state_c'",
|
|
"<class 'str'>"
|
|
],
|
|
"asctime": "2025-08-14 22:47:19,078",
|
|
"created": 1755204439.0782263,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "equivalency_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 184,
|
|
"message": "State after 1st cycle is correct (Content 'state_c' and Type is <class 'str'>).",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"State after 1st cycle",
|
|
"'state_c'",
|
|
"<class 'str'>"
|
|
],
|
|
"asctime": "2025-08-14 22:47:19,077",
|
|
"created": 1755204439.0777805,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_result__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 22,
|
|
"message": "Result (State after 1st cycle): 'state_c' (<class 'str'>)",
|
|
"module": "test",
|
|
"msecs": 77.0,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/unittest/test.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 676.492521,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"State after 1st cycle",
|
|
"=",
|
|
"'state_c'",
|
|
"<class 'str'>"
|
|
],
|
|
"asctime": "2025-08-14 22:47:19,078",
|
|
"created": 1755204439.0780318,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_expectation__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 26,
|
|
"message": "Expectation (State after 1st cycle): result = 'state_c' (<class 'str'>)",
|
|
"module": "test",
|
|
"msecs": 78.0,
|
|
"msg": "Expectation (%s): result %s %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/unittest/test.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 676.743793,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 78.0,
|
|
"msg": "State after 1st cycle is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/unittest/test.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 676.938327,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.000194549560546875
|
|
}
|
|
],
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.24467754364013672,
|
|
"time_finished": "2025-08-14 22:47:19,078",
|
|
"time_start": "2025-08-14 22:47:18,833"
|
|
},
|
|
"REQ-0020": {
|
|
"args": null,
|
|
"asctime": "2025-08-14 22:47:20,110",
|
|
"created": 1755204440.1101022,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "testCase",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 331,
|
|
"message": "REQ-0020",
|
|
"module": "__init__",
|
|
"moduleLogger": [],
|
|
"msecs": 110.0,
|
|
"msg": "REQ-0020",
|
|
"name": "__tLogger__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/report/__init__.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1708.814232,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"testcaseLogger": [
|
|
{
|
|
"args": [],
|
|
"asctime": "2025-08-14 22:47:20,111",
|
|
"created": 1755204440.1112645,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "report",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 254,
|
|
"message": "Callback execution order: Values and number of submitted values is correct. See detailed log for more information.",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"StateMachine:",
|
|
"'__init__'",
|
|
"None",
|
|
"'state_a'"
|
|
],
|
|
"asctime": "2025-08-14 22:47:20,110",
|
|
"created": 1755204440.1102076,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__set_state__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 179,
|
|
"message": "StateMachine: State change ('__init__'): None -> 'state_a'",
|
|
"module": "__init__",
|
|
"msecs": 110.0,
|
|
"msg": "%s State change (%s): %s -> %s",
|
|
"name": "state_machine",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/state_machine/__init__.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1708.919567,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"StateMachine:",
|
|
"'condition_a'",
|
|
"'state_a'",
|
|
"'state_b'"
|
|
],
|
|
"asctime": "2025-08-14 22:47:20,110",
|
|
"created": 1755204440.1102948,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__set_state__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 179,
|
|
"message": "StateMachine: State change ('condition_a'): 'state_a' -> 'state_b'",
|
|
"module": "__init__",
|
|
"msecs": 110.0,
|
|
"msg": "%s State change (%s): %s -> %s",
|
|
"name": "state_machine",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/state_machine/__init__.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1709.006904,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
0,
|
|
"unittest.test",
|
|
"report_value"
|
|
],
|
|
"asctime": "2025-08-14 22:47:20,110",
|
|
"created": 1755204440.1103494,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__set_state__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 200,
|
|
"message": "Executing callback 0 - unittest.test.report_value",
|
|
"module": "__init__",
|
|
"msecs": 110.0,
|
|
"msg": "Executing callback %d - %s.%s",
|
|
"name": "state_machine",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/state_machine/__init__.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1709.061347,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
2,
|
|
"unittest.test",
|
|
"report_value"
|
|
],
|
|
"asctime": "2025-08-14 22:47:20,110",
|
|
"created": 1755204440.110403,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__set_state__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 200,
|
|
"message": "Executing callback 2 - unittest.test.report_value",
|
|
"module": "__init__",
|
|
"msecs": 110.0,
|
|
"msg": "Executing callback %d - %s.%s",
|
|
"name": "state_machine",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/state_machine/__init__.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1709.115125,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"StateMachine:",
|
|
"'condition_b'",
|
|
"'state_b'",
|
|
"'state_a'"
|
|
],
|
|
"asctime": "2025-08-14 22:47:20,110",
|
|
"created": 1755204440.1104684,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__set_state__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 179,
|
|
"message": "StateMachine: State change ('condition_b'): 'state_b' -> 'state_a'",
|
|
"module": "__init__",
|
|
"msecs": 110.0,
|
|
"msg": "%s State change (%s): %s -> %s",
|
|
"name": "state_machine",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/state_machine/__init__.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1709.180308,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
1,
|
|
"unittest.test",
|
|
"report_value"
|
|
],
|
|
"asctime": "2025-08-14 22:47:20,110",
|
|
"created": 1755204440.1105185,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__set_state__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 200,
|
|
"message": "Executing callback 1 - unittest.test.report_value",
|
|
"module": "__init__",
|
|
"msecs": 110.0,
|
|
"msg": "Executing callback %d - %s.%s",
|
|
"name": "state_machine",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/state_machine/__init__.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1709.230408,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
2,
|
|
"unittest.test",
|
|
"report_value"
|
|
],
|
|
"asctime": "2025-08-14 22:47:20,110",
|
|
"created": 1755204440.1105618,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__set_state__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 200,
|
|
"message": "Executing callback 2 - unittest.test.report_value",
|
|
"module": "__init__",
|
|
"msecs": 110.0,
|
|
"msg": "Executing callback %d - %s.%s",
|
|
"name": "state_machine",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/state_machine/__init__.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1709.273776,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Callback execution order",
|
|
"[ 'specific callback for reaching state_b', 'nonspecific callback', 'specific callback for reaching state_a', 'nonspecific callback' ]",
|
|
"<class 'list'>"
|
|
],
|
|
"asctime": "2025-08-14 22:47:20,110",
|
|
"created": 1755204440.1106174,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_result__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 22,
|
|
"message": "Result (Callback execution order): [ 'specific callback for reaching state_b', 'nonspecific callback', 'specific callback for reaching state_a', 'nonspecific callback' ] (<class 'list'>)",
|
|
"module": "test",
|
|
"msecs": 110.0,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/unittest/test.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1709.329268,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Callback execution order",
|
|
"=",
|
|
"[ 'specific callback for reaching state_b', 'nonspecific callback', 'specific callback for reaching state_a', 'nonspecific callback' ]",
|
|
"<class 'list'>"
|
|
],
|
|
"asctime": "2025-08-14 22:47:20,110",
|
|
"created": 1755204440.1106703,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_expectation__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 26,
|
|
"message": "Expectation (Callback execution order): result = [ 'specific callback for reaching state_b', 'nonspecific callback', 'specific callback for reaching state_a', 'nonspecific callback' ] (<class 'list'>)",
|
|
"module": "test",
|
|
"msecs": 110.0,
|
|
"msg": "Expectation (%s): result %s %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/unittest/test.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1709.38231,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Submitted value number 1",
|
|
"'specific callback for reaching state_b'",
|
|
"<class 'str'>"
|
|
],
|
|
"asctime": "2025-08-14 22:47:20,110",
|
|
"created": 1755204440.1107202,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_result__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 22,
|
|
"message": "Result (Submitted value number 1): 'specific callback for reaching state_b' (<class 'str'>)",
|
|
"module": "test",
|
|
"msecs": 110.0,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/unittest/test.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1709.432177,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Submitted value number 1",
|
|
"=",
|
|
"'specific callback for reaching state_b'",
|
|
"<class 'str'>"
|
|
],
|
|
"asctime": "2025-08-14 22:47:20,110",
|
|
"created": 1755204440.1107733,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_expectation__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 26,
|
|
"message": "Expectation (Submitted value number 1): result = 'specific callback for reaching state_b' (<class 'str'>)",
|
|
"module": "test",
|
|
"msecs": 110.0,
|
|
"msg": "Expectation (%s): result %s %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/unittest/test.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1709.485316,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"'specific callback for reaching state_b'",
|
|
"<class 'str'>"
|
|
],
|
|
"asctime": "2025-08-14 22:47:20,110",
|
|
"created": 1755204440.1108193,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "equivalency_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 184,
|
|
"message": "Submitted value number 1 is correct (Content 'specific callback for reaching state_b' and Type is <class 'str'>).",
|
|
"module": "test",
|
|
"msecs": 110.0,
|
|
"msg": "Submitted value number 1 is correct (Content %s and Type is %s).",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/unittest/test.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1709.531406,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Submitted value number 2",
|
|
"'nonspecific callback'",
|
|
"<class 'str'>"
|
|
],
|
|
"asctime": "2025-08-14 22:47:20,110",
|
|
"created": 1755204440.1108656,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_result__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 22,
|
|
"message": "Result (Submitted value number 2): 'nonspecific callback' (<class 'str'>)",
|
|
"module": "test",
|
|
"msecs": 110.0,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/unittest/test.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1709.577768,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Submitted value number 2",
|
|
"=",
|
|
"'nonspecific callback'",
|
|
"<class 'str'>"
|
|
],
|
|
"asctime": "2025-08-14 22:47:20,110",
|
|
"created": 1755204440.1109104,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_expectation__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 26,
|
|
"message": "Expectation (Submitted value number 2): result = 'nonspecific callback' (<class 'str'>)",
|
|
"module": "test",
|
|
"msecs": 110.0,
|
|
"msg": "Expectation (%s): result %s %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/unittest/test.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1709.622442,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"'nonspecific callback'",
|
|
"<class 'str'>"
|
|
],
|
|
"asctime": "2025-08-14 22:47:20,110",
|
|
"created": 1755204440.1109579,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "equivalency_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 184,
|
|
"message": "Submitted value number 2 is correct (Content 'nonspecific callback' and Type is <class 'str'>).",
|
|
"module": "test",
|
|
"msecs": 110.0,
|
|
"msg": "Submitted value number 2 is correct (Content %s and Type is %s).",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/unittest/test.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1709.669845,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Submitted value number 3",
|
|
"'specific callback for reaching state_a'",
|
|
"<class 'str'>"
|
|
],
|
|
"asctime": "2025-08-14 22:47:20,111",
|
|
"created": 1755204440.1110034,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_result__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 22,
|
|
"message": "Result (Submitted value number 3): 'specific callback for reaching state_a' (<class 'str'>)",
|
|
"module": "test",
|
|
"msecs": 111.0,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/unittest/test.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1709.715295,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Submitted value number 3",
|
|
"=",
|
|
"'specific callback for reaching state_a'",
|
|
"<class 'str'>"
|
|
],
|
|
"asctime": "2025-08-14 22:47:20,111",
|
|
"created": 1755204440.1110466,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_expectation__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 26,
|
|
"message": "Expectation (Submitted value number 3): result = 'specific callback for reaching state_a' (<class 'str'>)",
|
|
"module": "test",
|
|
"msecs": 111.0,
|
|
"msg": "Expectation (%s): result %s %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/unittest/test.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1709.758623,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"'specific callback for reaching state_a'",
|
|
"<class 'str'>"
|
|
],
|
|
"asctime": "2025-08-14 22:47:20,111",
|
|
"created": 1755204440.1110892,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "equivalency_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 184,
|
|
"message": "Submitted value number 3 is correct (Content 'specific callback for reaching state_a' and Type is <class 'str'>).",
|
|
"module": "test",
|
|
"msecs": 111.0,
|
|
"msg": "Submitted value number 3 is correct (Content %s and Type is %s).",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/unittest/test.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1709.801178,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Submitted value number 4",
|
|
"'nonspecific callback'",
|
|
"<class 'str'>"
|
|
],
|
|
"asctime": "2025-08-14 22:47:20,111",
|
|
"created": 1755204440.1111329,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_result__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 22,
|
|
"message": "Result (Submitted value number 4): 'nonspecific callback' (<class 'str'>)",
|
|
"module": "test",
|
|
"msecs": 111.0,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/unittest/test.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1709.844916,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Submitted value number 4",
|
|
"=",
|
|
"'nonspecific callback'",
|
|
"<class 'str'>"
|
|
],
|
|
"asctime": "2025-08-14 22:47:20,111",
|
|
"created": 1755204440.111176,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_expectation__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 26,
|
|
"message": "Expectation (Submitted value number 4): result = 'nonspecific callback' (<class 'str'>)",
|
|
"module": "test",
|
|
"msecs": 111.0,
|
|
"msg": "Expectation (%s): result %s %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/unittest/test.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1709.887956,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"'nonspecific callback'",
|
|
"<class 'str'>"
|
|
],
|
|
"asctime": "2025-08-14 22:47:20,111",
|
|
"created": 1755204440.1112216,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "equivalency_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 184,
|
|
"message": "Submitted value number 4 is correct (Content 'nonspecific callback' and Type is <class 'str'>).",
|
|
"module": "test",
|
|
"msecs": 111.0,
|
|
"msg": "Submitted value number 4 is correct (Content %s and Type is %s).",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/unittest/test.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1709.933527,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 111.0,
|
|
"msg": "Callback execution order: Values and number of submitted values is correct. See detailed log for more information.",
|
|
"name": "__tLogger__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/unittest/test.py",
|
|
"process": 866474,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1709.976454,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 4.291534423828125e-05
|
|
}
|
|
],
|
|
"thread": 140512795234560,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.0011622905731201172,
|
|
"time_finished": "2025-08-14 22:47:20,111",
|
|
"time_start": "2025-08-14 22:47:20,110"
|
|
}
|
|
},
|
|
"testrun_id": "p3",
|
|
"time_consumption": 1.6513581275939941,
|
|
"uid_list_sorted": [
|
|
"REQ-0005",
|
|
"REQ-0006",
|
|
"REQ-0007",
|
|
"REQ-0008",
|
|
"REQ-0017",
|
|
"REQ-0018",
|
|
"REQ-0019",
|
|
"REQ-0009",
|
|
"REQ-0010",
|
|
"REQ-0011",
|
|
"REQ-0012",
|
|
"REQ-0013",
|
|
"REQ-0014",
|
|
"REQ-0015",
|
|
"REQ-0016",
|
|
"REQ-0001",
|
|
"REQ-0002",
|
|
"REQ-0003",
|
|
"REQ-0004",
|
|
"REQ-0020"
|
|
]
|
|
}
|
|
],
|
|
"unittest_information": {
|
|
"Version": "e6f5e3b6cb9ae84eee10254379ddd104"
|
|
}
|
|
} |