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-15 20:46:32,713",
|
|
"created": 1755283592.7130916,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "testCase",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 331,
|
|
"message": "REQ-0001",
|
|
"module": "__init__",
|
|
"moduleLogger": [],
|
|
"msecs": 713.0,
|
|
"msg": "REQ-0001",
|
|
"name": "__tLogger__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/report/__init__.py",
|
|
"process": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1720.812676,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"testcaseLogger": [
|
|
{
|
|
"args": [],
|
|
"asctime": "2025-08-15 20:46:32,716",
|
|
"created": 1755283592.7162728,
|
|
"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-15 20:46:32,713",
|
|
"created": 1755283592.7135067,
|
|
"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": 713.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": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1721.227761,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140549760135424,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
1
|
|
],
|
|
"asctime": "2025-08-15 20:46:32,713",
|
|
"created": 1755283592.7138224,
|
|
"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": 713.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": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1721.543471,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140549760135424,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"StateMachine:",
|
|
"'condition_a'",
|
|
"'state_a'",
|
|
"'state_b'"
|
|
],
|
|
"asctime": "2025-08-15 20:46:32,714",
|
|
"created": 1755283592.7142327,
|
|
"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": 714.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": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1721.953522,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140549760135424,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
0,
|
|
"tests.test_callbacks",
|
|
"exec_with_counter"
|
|
],
|
|
"asctime": "2025-08-15 20:46:32,714",
|
|
"created": 1755283592.714429,
|
|
"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": 714.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": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1722.149922,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140549760135424,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
2
|
|
],
|
|
"asctime": "2025-08-15 20:46:32,714",
|
|
"created": 1755283592.7146611,
|
|
"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": 714.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": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1722.382185,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140549760135424,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
1,
|
|
"tests.test_callbacks",
|
|
"exec_with_counter"
|
|
],
|
|
"asctime": "2025-08-15 20:46:32,714",
|
|
"created": 1755283592.7148411,
|
|
"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": 714.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": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1722.562209,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140549760135424,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
3
|
|
],
|
|
"asctime": "2025-08-15 20:46:32,715",
|
|
"created": 1755283592.7150059,
|
|
"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": 715.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": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1722.727001,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140549760135424,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
4
|
|
],
|
|
"asctime": "2025-08-15 20:46:32,715",
|
|
"created": 1755283592.7151773,
|
|
"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": 715.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": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1722.898345,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140549760135424,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"StateMachine:",
|
|
"'condition_b'",
|
|
"'state_b'",
|
|
"'state_a'"
|
|
],
|
|
"asctime": "2025-08-15 20:46:32,715",
|
|
"created": 1755283592.7153788,
|
|
"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": 715.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": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1723.099803,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140549760135424,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
5
|
|
],
|
|
"asctime": "2025-08-15 20:46:32,715",
|
|
"created": 1755283592.7155678,
|
|
"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": 715.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": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1723.288937,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140549760135424,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"StateMachine:",
|
|
"'condition_b'",
|
|
"'state_a'",
|
|
"'state_b'"
|
|
],
|
|
"asctime": "2025-08-15 20:46:32,715",
|
|
"created": 1755283592.7157586,
|
|
"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": 715.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": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1723.479554,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140549760135424,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
6
|
|
],
|
|
"asctime": "2025-08-15 20:46:32,715",
|
|
"created": 1755283592.715924,
|
|
"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": 715.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": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1723.644935,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140549760135424,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"StateMachine:",
|
|
"'condition_c'",
|
|
"'state_b'",
|
|
"'state_c'"
|
|
],
|
|
"asctime": "2025-08-15 20:46:32,716",
|
|
"created": 1755283592.71611,
|
|
"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": 716.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": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1723.831183,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140549760135424,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 716.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": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1723.99392,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140549760135424,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.0001628398895263672
|
|
},
|
|
{
|
|
"args": [],
|
|
"asctime": "2025-08-15 20:46:32,717",
|
|
"created": 1755283592.7174504,
|
|
"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-15 20:46:32,716",
|
|
"created": 1755283592.7166152,
|
|
"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": 716.0,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/unittest/test.py",
|
|
"process": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1724.336227,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140549760135424,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Execution of state machine callback (1) (state_b, condition_a) identified by a sequence number",
|
|
"=",
|
|
"[ 1 ]",
|
|
"<class 'list'>"
|
|
],
|
|
"asctime": "2025-08-15 20:46:32,716",
|
|
"created": 1755283592.7168121,
|
|
"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": 716.0,
|
|
"msg": "Expectation (%s): result %s %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/unittest/test.py",
|
|
"process": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1724.532972,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140549760135424,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Submitted value number 1",
|
|
"1",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2025-08-15 20:46:32,716",
|
|
"created": 1755283592.7169883,
|
|
"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": 716.0,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/unittest/test.py",
|
|
"process": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1724.709352,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140549760135424,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Submitted value number 1",
|
|
"=",
|
|
"1",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2025-08-15 20:46:32,717",
|
|
"created": 1755283592.71714,
|
|
"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": 717.0,
|
|
"msg": "Expectation (%s): result %s %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/unittest/test.py",
|
|
"process": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1724.861108,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140549760135424,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"1",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2025-08-15 20:46:32,717",
|
|
"created": 1755283592.7173061,
|
|
"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": 717.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": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1725.027272,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140549760135424,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 717.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": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1725.171546,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140549760135424,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.0001442432403564453
|
|
},
|
|
{
|
|
"args": [],
|
|
"asctime": "2025-08-15 20:46:32,718",
|
|
"created": 1755283592.7185402,
|
|
"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-15 20:46:32,717",
|
|
"created": 1755283592.7177112,
|
|
"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": 717.0,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/unittest/test.py",
|
|
"process": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1725.432046,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140549760135424,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Execution of state machine callback (2) (state_b, condition_a) identified by a sequence number",
|
|
"=",
|
|
"[ 2 ]",
|
|
"<class 'list'>"
|
|
],
|
|
"asctime": "2025-08-15 20:46:32,717",
|
|
"created": 1755283592.7178965,
|
|
"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": 717.0,
|
|
"msg": "Expectation (%s): result %s %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/unittest/test.py",
|
|
"process": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1725.617483,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140549760135424,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Submitted value number 1",
|
|
"2",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2025-08-15 20:46:32,718",
|
|
"created": 1755283592.7180586,
|
|
"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": 718.0,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/unittest/test.py",
|
|
"process": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1725.779671,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140549760135424,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Submitted value number 1",
|
|
"=",
|
|
"2",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2025-08-15 20:46:32,718",
|
|
"created": 1755283592.718218,
|
|
"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": 718.0,
|
|
"msg": "Expectation (%s): result %s %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/unittest/test.py",
|
|
"process": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1725.939157,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140549760135424,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"2",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2025-08-15 20:46:32,718",
|
|
"created": 1755283592.7183754,
|
|
"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": 718.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": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1726.096499,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140549760135424,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 718.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": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1726.261324,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140549760135424,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.0001647472381591797
|
|
}
|
|
],
|
|
"thread": 140549760135424,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.005448579788208008,
|
|
"time_finished": "2025-08-15 20:46:32,718",
|
|
"time_start": "2025-08-15 20:46:32,713"
|
|
},
|
|
"REQ-0002": {
|
|
"args": null,
|
|
"asctime": "2025-08-15 20:46:32,719",
|
|
"created": 1755283592.7192256,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "testCase",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 331,
|
|
"message": "REQ-0002",
|
|
"module": "__init__",
|
|
"moduleLogger": [],
|
|
"msecs": 719.0,
|
|
"msg": "REQ-0002",
|
|
"name": "__tLogger__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/report/__init__.py",
|
|
"process": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1726.946539,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"testcaseLogger": [
|
|
{
|
|
"args": [],
|
|
"asctime": "2025-08-15 20:46:32,723",
|
|
"created": 1755283592.7233465,
|
|
"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-15 20:46:32,719",
|
|
"created": 1755283592.7195706,
|
|
"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": 719.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": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1727.291698,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140549760135424,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
1
|
|
],
|
|
"asctime": "2025-08-15 20:46:32,719",
|
|
"created": 1755283592.7199385,
|
|
"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": 719.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": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1727.659736,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140549760135424,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"StateMachine:",
|
|
"'condition_a'",
|
|
"'state_a'",
|
|
"'state_b'"
|
|
],
|
|
"asctime": "2025-08-15 20:46:32,720",
|
|
"created": 1755283592.7203474,
|
|
"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": 720.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": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1728.068395,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140549760135424,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
2
|
|
],
|
|
"asctime": "2025-08-15 20:46:32,720",
|
|
"created": 1755283592.7206836,
|
|
"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": 720.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": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1728.404653,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140549760135424,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"StateMachine:",
|
|
"'condition_b'",
|
|
"'state_b'",
|
|
"'state_a'"
|
|
],
|
|
"asctime": "2025-08-15 20:46:32,721",
|
|
"created": 1755283592.7210522,
|
|
"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": 721.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": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1728.773189,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140549760135424,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
0,
|
|
"tests.test_callbacks",
|
|
"exec_with_counter"
|
|
],
|
|
"asctime": "2025-08-15 20:46:32,721",
|
|
"created": 1755283592.7212973,
|
|
"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": 721.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": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1729.018088,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140549760135424,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
3
|
|
],
|
|
"asctime": "2025-08-15 20:46:32,721",
|
|
"created": 1755283592.7214613,
|
|
"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": 721.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": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1729.182184,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140549760135424,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
1,
|
|
"tests.test_callbacks",
|
|
"exec_with_counter"
|
|
],
|
|
"asctime": "2025-08-15 20:46:32,721",
|
|
"created": 1755283592.72162,
|
|
"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": 721.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": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1729.341133,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140549760135424,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
4
|
|
],
|
|
"asctime": "2025-08-15 20:46:32,721",
|
|
"created": 1755283592.7217636,
|
|
"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": 721.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": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1729.484724,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140549760135424,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
5
|
|
],
|
|
"asctime": "2025-08-15 20:46:32,721",
|
|
"created": 1755283592.7219217,
|
|
"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": 721.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": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1729.642846,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140549760135424,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"StateMachine:",
|
|
"'condition_b'",
|
|
"'state_a'",
|
|
"'state_b'"
|
|
],
|
|
"asctime": "2025-08-15 20:46:32,722",
|
|
"created": 1755283592.7221513,
|
|
"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": 722.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": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1729.872149,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140549760135424,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
0,
|
|
"tests.test_callbacks",
|
|
"exec_with_counter"
|
|
],
|
|
"asctime": "2025-08-15 20:46:32,722",
|
|
"created": 1755283592.7223132,
|
|
"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": 722.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": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1730.034196,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140549760135424,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
6
|
|
],
|
|
"asctime": "2025-08-15 20:46:32,722",
|
|
"created": 1755283592.7224576,
|
|
"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": 722.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": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1730.178527,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140549760135424,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
1,
|
|
"tests.test_callbacks",
|
|
"exec_with_counter"
|
|
],
|
|
"asctime": "2025-08-15 20:46:32,722",
|
|
"created": 1755283592.7226367,
|
|
"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": 722.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": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1730.357804,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140549760135424,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
7
|
|
],
|
|
"asctime": "2025-08-15 20:46:32,722",
|
|
"created": 1755283592.7228074,
|
|
"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": 722.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": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1730.528402,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140549760135424,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
8
|
|
],
|
|
"asctime": "2025-08-15 20:46:32,722",
|
|
"created": 1755283592.722976,
|
|
"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": 722.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": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1730.697079,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140549760135424,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"StateMachine:",
|
|
"'condition_c'",
|
|
"'state_b'",
|
|
"'state_c'"
|
|
],
|
|
"asctime": "2025-08-15 20:46:32,723",
|
|
"created": 1755283592.723163,
|
|
"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": 723.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": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1730.883943,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140549760135424,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 723.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": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1731.06745,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140549760135424,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.00018358230590820312
|
|
},
|
|
{
|
|
"args": [],
|
|
"asctime": "2025-08-15 20:46:32,724",
|
|
"created": 1755283592.7249243,
|
|
"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-15 20:46:32,723",
|
|
"created": 1755283592.723671,
|
|
"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": 723.0,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/unittest/test.py",
|
|
"process": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1731.392151,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140549760135424,
|
|
"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-15 20:46:32,723",
|
|
"created": 1755283592.7238472,
|
|
"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": 723.0,
|
|
"msg": "Expectation (%s): result %s %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/unittest/test.py",
|
|
"process": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1731.568286,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140549760135424,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Submitted value number 1",
|
|
"2",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2025-08-15 20:46:32,724",
|
|
"created": 1755283592.7240098,
|
|
"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": 724.0,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/unittest/test.py",
|
|
"process": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1731.730705,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140549760135424,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Submitted value number 1",
|
|
"=",
|
|
"2",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2025-08-15 20:46:32,724",
|
|
"created": 1755283592.7241733,
|
|
"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": 724.0,
|
|
"msg": "Expectation (%s): result %s %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/unittest/test.py",
|
|
"process": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1731.894491,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140549760135424,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"2",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2025-08-15 20:46:32,724",
|
|
"created": 1755283592.7243464,
|
|
"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": 724.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": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1732.067497,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140549760135424,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Submitted value number 2",
|
|
"5",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2025-08-15 20:46:32,724",
|
|
"created": 1755283592.7244976,
|
|
"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": 724.0,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/unittest/test.py",
|
|
"process": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1732.218666,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140549760135424,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Submitted value number 2",
|
|
"=",
|
|
"5",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2025-08-15 20:46:32,724",
|
|
"created": 1755283592.7246447,
|
|
"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": 724.0,
|
|
"msg": "Expectation (%s): result %s %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/unittest/test.py",
|
|
"process": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1732.365705,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140549760135424,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"5",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2025-08-15 20:46:32,724",
|
|
"created": 1755283592.7247884,
|
|
"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": 724.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": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1732.509466,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140549760135424,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 724.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": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1732.645397,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140549760135424,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.00013589859008789062
|
|
},
|
|
{
|
|
"args": [],
|
|
"asctime": "2025-08-15 20:46:32,726",
|
|
"created": 1755283592.726539,
|
|
"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-15 20:46:32,725",
|
|
"created": 1755283592.7252707,
|
|
"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": 725.0,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/unittest/test.py",
|
|
"process": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1732.991747,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140549760135424,
|
|
"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-15 20:46:32,725",
|
|
"created": 1755283592.7254555,
|
|
"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": 725.0,
|
|
"msg": "Expectation (%s): result %s %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/unittest/test.py",
|
|
"process": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1733.176739,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140549760135424,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Submitted value number 1",
|
|
"3",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2025-08-15 20:46:32,725",
|
|
"created": 1755283592.7256353,
|
|
"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": 725.0,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/unittest/test.py",
|
|
"process": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1733.356282,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140549760135424,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Submitted value number 1",
|
|
"=",
|
|
"3",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2025-08-15 20:46:32,725",
|
|
"created": 1755283592.725797,
|
|
"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": 725.0,
|
|
"msg": "Expectation (%s): result %s %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/unittest/test.py",
|
|
"process": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1733.518028,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140549760135424,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"3",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2025-08-15 20:46:32,725",
|
|
"created": 1755283592.7259445,
|
|
"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": 725.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": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1733.66562,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140549760135424,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Submitted value number 2",
|
|
"6",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2025-08-15 20:46:32,726",
|
|
"created": 1755283592.7260933,
|
|
"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": 726.0,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/unittest/test.py",
|
|
"process": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1733.814343,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140549760135424,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Submitted value number 2",
|
|
"=",
|
|
"6",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2025-08-15 20:46:32,726",
|
|
"created": 1755283592.7262495,
|
|
"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": 726.0,
|
|
"msg": "Expectation (%s): result %s %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/unittest/test.py",
|
|
"process": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1733.970452,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140549760135424,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"6",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2025-08-15 20:46:32,726",
|
|
"created": 1755283592.726401,
|
|
"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": 726.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": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1734.122039,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140549760135424,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 726.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": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1734.260106,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140549760135424,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.00013780593872070312
|
|
}
|
|
],
|
|
"thread": 140549760135424,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.007313251495361328,
|
|
"time_finished": "2025-08-15 20:46:32,726",
|
|
"time_start": "2025-08-15 20:46:32,719"
|
|
},
|
|
"REQ-0003": {
|
|
"args": null,
|
|
"asctime": "2025-08-15 20:46:32,727",
|
|
"created": 1755283592.7271552,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "testCase",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 331,
|
|
"message": "REQ-0003",
|
|
"module": "__init__",
|
|
"moduleLogger": [],
|
|
"msecs": 727.0,
|
|
"msg": "REQ-0003",
|
|
"name": "__tLogger__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/report/__init__.py",
|
|
"process": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1734.876215,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"testcaseLogger": [
|
|
{
|
|
"args": [],
|
|
"asctime": "2025-08-15 20:46:32,730",
|
|
"created": 1755283592.730508,
|
|
"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-15 20:46:32,727",
|
|
"created": 1755283592.7274814,
|
|
"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": 727.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": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1735.202424,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140549760135424,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
1
|
|
],
|
|
"asctime": "2025-08-15 20:46:32,727",
|
|
"created": 1755283592.7277136,
|
|
"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": 727.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": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1735.434695,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140549760135424,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"StateMachine:",
|
|
"'condition_a'",
|
|
"'state_a'",
|
|
"'state_b'"
|
|
],
|
|
"asctime": "2025-08-15 20:46:32,728",
|
|
"created": 1755283592.7280211,
|
|
"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": 728.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": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1735.74241,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140549760135424,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
0,
|
|
"tests.test_callbacks",
|
|
"exec_with_counter"
|
|
],
|
|
"asctime": "2025-08-15 20:46:32,728",
|
|
"created": 1755283592.7282138,
|
|
"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": 728.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": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1735.934746,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140549760135424,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
2
|
|
],
|
|
"asctime": "2025-08-15 20:46:32,728",
|
|
"created": 1755283592.7283683,
|
|
"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": 728.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": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1736.089424,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140549760135424,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
1,
|
|
"tests.test_callbacks",
|
|
"exec_with_counter"
|
|
],
|
|
"asctime": "2025-08-15 20:46:32,728",
|
|
"created": 1755283592.7285242,
|
|
"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": 728.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": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1736.245289,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140549760135424,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
3
|
|
],
|
|
"asctime": "2025-08-15 20:46:32,728",
|
|
"created": 1755283592.728665,
|
|
"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": 728.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": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1736.386218,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140549760135424,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
4
|
|
],
|
|
"asctime": "2025-08-15 20:46:32,728",
|
|
"created": 1755283592.7288222,
|
|
"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": 728.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": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1736.543406,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140549760135424,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"StateMachine:",
|
|
"'condition_b'",
|
|
"'state_b'",
|
|
"'state_a'"
|
|
],
|
|
"asctime": "2025-08-15 20:46:32,729",
|
|
"created": 1755283592.729034,
|
|
"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": 729.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": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1736.755027,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140549760135424,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
5
|
|
],
|
|
"asctime": "2025-08-15 20:46:32,729",
|
|
"created": 1755283592.7292068,
|
|
"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": 729.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": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1736.927769,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140549760135424,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"StateMachine:",
|
|
"'condition_b'",
|
|
"'state_a'",
|
|
"'state_b'"
|
|
],
|
|
"asctime": "2025-08-15 20:46:32,729",
|
|
"created": 1755283592.7294059,
|
|
"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": 729.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": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1737.127053,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140549760135424,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
0,
|
|
"tests.test_callbacks",
|
|
"exec_with_counter"
|
|
],
|
|
"asctime": "2025-08-15 20:46:32,729",
|
|
"created": 1755283592.7295651,
|
|
"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": 729.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": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1737.286132,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140549760135424,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
6
|
|
],
|
|
"asctime": "2025-08-15 20:46:32,729",
|
|
"created": 1755283592.7297096,
|
|
"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": 729.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": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1737.430603,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140549760135424,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
1,
|
|
"tests.test_callbacks",
|
|
"exec_with_counter"
|
|
],
|
|
"asctime": "2025-08-15 20:46:32,729",
|
|
"created": 1755283592.7298548,
|
|
"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": 729.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": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1737.575681,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140549760135424,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
7
|
|
],
|
|
"asctime": "2025-08-15 20:46:32,730",
|
|
"created": 1755283592.7300043,
|
|
"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": 730.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": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1737.725331,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140549760135424,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
8
|
|
],
|
|
"asctime": "2025-08-15 20:46:32,730",
|
|
"created": 1755283592.7301621,
|
|
"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": 730.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": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1737.883146,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140549760135424,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"StateMachine:",
|
|
"'condition_c'",
|
|
"'state_b'",
|
|
"'state_c'"
|
|
],
|
|
"asctime": "2025-08-15 20:46:32,730",
|
|
"created": 1755283592.7303443,
|
|
"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": 730.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": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1738.06523,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140549760135424,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 730.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": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1738.229175,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140549760135424,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.00016379356384277344
|
|
},
|
|
{
|
|
"args": [],
|
|
"asctime": "2025-08-15 20:46:32,732",
|
|
"created": 1755283592.732096,
|
|
"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-15 20:46:32,730",
|
|
"created": 1755283592.7308478,
|
|
"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": 730.0,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/unittest/test.py",
|
|
"process": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1738.568781,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140549760135424,
|
|
"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-15 20:46:32,731",
|
|
"created": 1755283592.7310302,
|
|
"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": 731.0,
|
|
"msg": "Expectation (%s): result %s %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/unittest/test.py",
|
|
"process": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1738.751319,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140549760135424,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Submitted value number 1",
|
|
"1",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2025-08-15 20:46:32,731",
|
|
"created": 1755283592.7311947,
|
|
"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": 731.0,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/unittest/test.py",
|
|
"process": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1738.915569,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140549760135424,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Submitted value number 1",
|
|
"=",
|
|
"1",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2025-08-15 20:46:32,731",
|
|
"created": 1755283592.7313426,
|
|
"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": 731.0,
|
|
"msg": "Expectation (%s): result %s %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/unittest/test.py",
|
|
"process": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1739.063745,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140549760135424,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"1",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2025-08-15 20:46:32,731",
|
|
"created": 1755283592.731488,
|
|
"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": 731.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": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1739.209091,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140549760135424,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Submitted value number 2",
|
|
"5",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2025-08-15 20:46:32,731",
|
|
"created": 1755283592.7316403,
|
|
"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": 731.0,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/unittest/test.py",
|
|
"process": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1739.36137,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140549760135424,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Submitted value number 2",
|
|
"=",
|
|
"5",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2025-08-15 20:46:32,731",
|
|
"created": 1755283592.7318094,
|
|
"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": 731.0,
|
|
"msg": "Expectation (%s): result %s %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/unittest/test.py",
|
|
"process": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1739.530327,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140549760135424,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"5",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2025-08-15 20:46:32,731",
|
|
"created": 1755283592.7319589,
|
|
"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": 731.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": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1739.679747,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140549760135424,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 732.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": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1739.817128,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140549760135424,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.00013709068298339844
|
|
},
|
|
{
|
|
"args": [],
|
|
"asctime": "2025-08-15 20:46:32,733",
|
|
"created": 1755283592.733577,
|
|
"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-15 20:46:32,732",
|
|
"created": 1755283592.732359,
|
|
"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": 732.0,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/unittest/test.py",
|
|
"process": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1740.080015,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140549760135424,
|
|
"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-15 20:46:32,732",
|
|
"created": 1755283592.7325304,
|
|
"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": 732.0,
|
|
"msg": "Expectation (%s): result %s %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/unittest/test.py",
|
|
"process": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1740.251581,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140549760135424,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Submitted value number 1",
|
|
"2",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2025-08-15 20:46:32,732",
|
|
"created": 1755283592.7326863,
|
|
"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": 732.0,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/unittest/test.py",
|
|
"process": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1740.407395,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140549760135424,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Submitted value number 1",
|
|
"=",
|
|
"2",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2025-08-15 20:46:32,732",
|
|
"created": 1755283592.7328405,
|
|
"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": 732.0,
|
|
"msg": "Expectation (%s): result %s %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/unittest/test.py",
|
|
"process": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1740.561554,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140549760135424,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"2",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2025-08-15 20:46:32,732",
|
|
"created": 1755283592.732986,
|
|
"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": 732.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": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1740.706993,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140549760135424,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Submitted value number 2",
|
|
"6",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2025-08-15 20:46:32,733",
|
|
"created": 1755283592.7331336,
|
|
"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": 733.0,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/unittest/test.py",
|
|
"process": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1740.854686,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140549760135424,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Submitted value number 2",
|
|
"=",
|
|
"6",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2025-08-15 20:46:32,733",
|
|
"created": 1755283592.7332757,
|
|
"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": 733.0,
|
|
"msg": "Expectation (%s): result %s %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/unittest/test.py",
|
|
"process": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1740.996604,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140549760135424,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"6",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2025-08-15 20:46:32,733",
|
|
"created": 1755283592.733443,
|
|
"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": 733.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": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1741.164087,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140549760135424,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 733.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": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1741.297974,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140549760135424,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.00013399124145507812
|
|
}
|
|
],
|
|
"thread": 140549760135424,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.006421804428100586,
|
|
"time_finished": "2025-08-15 20:46:32,733",
|
|
"time_start": "2025-08-15 20:46:32,727"
|
|
},
|
|
"REQ-0004": {
|
|
"args": null,
|
|
"asctime": "2025-08-15 20:46:32,734",
|
|
"created": 1755283592.7342443,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "testCase",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 331,
|
|
"message": "REQ-0004",
|
|
"module": "__init__",
|
|
"moduleLogger": [],
|
|
"msecs": 734.0,
|
|
"msg": "REQ-0004",
|
|
"name": "__tLogger__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/report/__init__.py",
|
|
"process": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1741.96546,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"testcaseLogger": [
|
|
{
|
|
"args": [],
|
|
"asctime": "2025-08-15 20:46:32,740",
|
|
"created": 1755283592.740319,
|
|
"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-15 20:46:32,734",
|
|
"created": 1755283592.734823,
|
|
"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": 734.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": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1742.543968,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140549760135424,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
1
|
|
],
|
|
"asctime": "2025-08-15 20:46:32,735",
|
|
"created": 1755283592.735207,
|
|
"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": 735.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": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1742.928282,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140549760135424,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"StateMachine:",
|
|
"'condition_a'",
|
|
"'state_a'",
|
|
"'state_b'"
|
|
],
|
|
"asctime": "2025-08-15 20:46:32,735",
|
|
"created": 1755283592.7355874,
|
|
"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": 735.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": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1743.308316,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140549760135424,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
0,
|
|
"tests.test_callbacks",
|
|
"exec_with_counter"
|
|
],
|
|
"asctime": "2025-08-15 20:46:32,735",
|
|
"created": 1755283592.7358153,
|
|
"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": 735.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": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1743.536291,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140549760135424,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
2
|
|
],
|
|
"asctime": "2025-08-15 20:46:32,736",
|
|
"created": 1755283592.7360318,
|
|
"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": 736.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": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1743.752767,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140549760135424,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
1,
|
|
"tests.test_callbacks",
|
|
"exec_with_counter"
|
|
],
|
|
"asctime": "2025-08-15 20:46:32,736",
|
|
"created": 1755283592.736236,
|
|
"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": 736.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": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1743.957191,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140549760135424,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
3
|
|
],
|
|
"asctime": "2025-08-15 20:46:32,736",
|
|
"created": 1755283592.7363868,
|
|
"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": 736.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": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1744.107834,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140549760135424,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
4
|
|
],
|
|
"asctime": "2025-08-15 20:46:32,736",
|
|
"created": 1755283592.7365491,
|
|
"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": 736.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": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1744.270099,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140549760135424,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"StateMachine:",
|
|
"'condition_b'",
|
|
"'state_b'",
|
|
"'state_a'"
|
|
],
|
|
"asctime": "2025-08-15 20:46:32,736",
|
|
"created": 1755283592.736773,
|
|
"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": 736.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": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1744.494267,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140549760135424,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
0,
|
|
"tests.test_callbacks",
|
|
"exec_with_counter"
|
|
],
|
|
"asctime": "2025-08-15 20:46:32,737",
|
|
"created": 1755283592.7370877,
|
|
"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": 737.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": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1744.808793,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140549760135424,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
5
|
|
],
|
|
"asctime": "2025-08-15 20:46:32,737",
|
|
"created": 1755283592.737259,
|
|
"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": 737.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": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1744.979957,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140549760135424,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
1,
|
|
"tests.test_callbacks",
|
|
"exec_with_counter"
|
|
],
|
|
"asctime": "2025-08-15 20:46:32,737",
|
|
"created": 1755283592.7374136,
|
|
"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": 737.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": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1745.134759,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140549760135424,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
6
|
|
],
|
|
"asctime": "2025-08-15 20:46:32,737",
|
|
"created": 1755283592.7375557,
|
|
"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": 737.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": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1745.276846,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140549760135424,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
7
|
|
],
|
|
"asctime": "2025-08-15 20:46:32,737",
|
|
"created": 1755283592.737745,
|
|
"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": 737.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": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1745.466227,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140549760135424,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"StateMachine:",
|
|
"'condition_b'",
|
|
"'state_a'",
|
|
"'state_b'"
|
|
],
|
|
"asctime": "2025-08-15 20:46:32,737",
|
|
"created": 1755283592.737941,
|
|
"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": 737.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": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1745.66208,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140549760135424,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
0,
|
|
"tests.test_callbacks",
|
|
"exec_with_counter"
|
|
],
|
|
"asctime": "2025-08-15 20:46:32,738",
|
|
"created": 1755283592.7381008,
|
|
"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": 738.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": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1745.821853,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140549760135424,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
8
|
|
],
|
|
"asctime": "2025-08-15 20:46:32,738",
|
|
"created": 1755283592.7382588,
|
|
"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": 738.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": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1745.979875,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140549760135424,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
1,
|
|
"tests.test_callbacks",
|
|
"exec_with_counter"
|
|
],
|
|
"asctime": "2025-08-15 20:46:32,738",
|
|
"created": 1755283592.7384088,
|
|
"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": 738.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": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1746.129707,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140549760135424,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
9
|
|
],
|
|
"asctime": "2025-08-15 20:46:32,738",
|
|
"created": 1755283592.738554,
|
|
"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": 738.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": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1746.275088,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140549760135424,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
10
|
|
],
|
|
"asctime": "2025-08-15 20:46:32,738",
|
|
"created": 1755283592.7387912,
|
|
"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": 738.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": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1746.512117,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140549760135424,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"StateMachine:",
|
|
"'condition_c'",
|
|
"'state_b'",
|
|
"'state_c'"
|
|
],
|
|
"asctime": "2025-08-15 20:46:32,738",
|
|
"created": 1755283592.7389967,
|
|
"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": 738.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": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1746.717858,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140549760135424,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
0,
|
|
"tests.test_callbacks",
|
|
"exec_with_counter"
|
|
],
|
|
"asctime": "2025-08-15 20:46:32,739",
|
|
"created": 1755283592.739203,
|
|
"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": 739.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": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1746.92405,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140549760135424,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
11
|
|
],
|
|
"asctime": "2025-08-15 20:46:32,739",
|
|
"created": 1755283592.739473,
|
|
"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": 739.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": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1747.194086,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140549760135424,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
1,
|
|
"tests.test_callbacks",
|
|
"exec_with_counter"
|
|
],
|
|
"asctime": "2025-08-15 20:46:32,739",
|
|
"created": 1755283592.7397575,
|
|
"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": 739.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": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1747.478715,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140549760135424,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
12
|
|
],
|
|
"asctime": "2025-08-15 20:46:32,740",
|
|
"created": 1755283592.7400281,
|
|
"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": 740.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": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1747.749129,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140549760135424,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 740.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": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1748.039994,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140549760135424,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.00029087066650390625
|
|
},
|
|
{
|
|
"args": [],
|
|
"asctime": "2025-08-15 20:46:32,743",
|
|
"created": 1755283592.7439277,
|
|
"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-15 20:46:32,740",
|
|
"created": 1755283592.7409527,
|
|
"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": 740.0,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/unittest/test.py",
|
|
"process": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1748.673817,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140549760135424,
|
|
"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-15 20:46:32,741",
|
|
"created": 1755283592.741308,
|
|
"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": 741.0,
|
|
"msg": "Expectation (%s): result %s %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/unittest/test.py",
|
|
"process": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1749.028873,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140549760135424,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Submitted value number 1",
|
|
"1",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2025-08-15 20:46:32,741",
|
|
"created": 1755283592.7415137,
|
|
"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": 741.0,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/unittest/test.py",
|
|
"process": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1749.234823,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140549760135424,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Submitted value number 1",
|
|
"=",
|
|
"1",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2025-08-15 20:46:32,741",
|
|
"created": 1755283592.7417614,
|
|
"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": 741.0,
|
|
"msg": "Expectation (%s): result %s %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/unittest/test.py",
|
|
"process": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1749.482595,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140549760135424,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"1",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2025-08-15 20:46:32,742",
|
|
"created": 1755283592.7420635,
|
|
"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": 742.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": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1749.784726,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140549760135424,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Submitted value number 2",
|
|
"4",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2025-08-15 20:46:32,742",
|
|
"created": 1755283592.7423272,
|
|
"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": 742.0,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/unittest/test.py",
|
|
"process": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1750.048299,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140549760135424,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Submitted value number 2",
|
|
"=",
|
|
"4",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2025-08-15 20:46:32,742",
|
|
"created": 1755283592.7424898,
|
|
"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": 742.0,
|
|
"msg": "Expectation (%s): result %s %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/unittest/test.py",
|
|
"process": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1750.210798,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140549760135424,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"4",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2025-08-15 20:46:32,742",
|
|
"created": 1755283592.7426877,
|
|
"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": 742.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": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1750.40878,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140549760135424,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Submitted value number 3",
|
|
"7",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2025-08-15 20:46:32,742",
|
|
"created": 1755283592.7428458,
|
|
"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": 742.0,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/unittest/test.py",
|
|
"process": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1750.566761,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140549760135424,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Submitted value number 3",
|
|
"=",
|
|
"7",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2025-08-15 20:46:32,743",
|
|
"created": 1755283592.743068,
|
|
"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": 743.0,
|
|
"msg": "Expectation (%s): result %s %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/unittest/test.py",
|
|
"process": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1750.789015,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140549760135424,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"7",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2025-08-15 20:46:32,743",
|
|
"created": 1755283592.7432292,
|
|
"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": 743.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": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1750.950141,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140549760135424,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Submitted value number 4",
|
|
"10",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2025-08-15 20:46:32,743",
|
|
"created": 1755283592.743375,
|
|
"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": 743.0,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/unittest/test.py",
|
|
"process": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1751.096167,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140549760135424,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Submitted value number 4",
|
|
"=",
|
|
"10",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2025-08-15 20:46:32,743",
|
|
"created": 1755283592.7435145,
|
|
"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": 743.0,
|
|
"msg": "Expectation (%s): result %s %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/unittest/test.py",
|
|
"process": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1751.235577,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140549760135424,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"10",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2025-08-15 20:46:32,743",
|
|
"created": 1755283592.7437482,
|
|
"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": 743.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": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1751.469165,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140549760135424,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 743.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": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1751.648931,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140549760135424,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.00017952919006347656
|
|
},
|
|
{
|
|
"args": [],
|
|
"asctime": "2025-08-15 20:46:32,746",
|
|
"created": 1755283592.7465322,
|
|
"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-15 20:46:32,744",
|
|
"created": 1755283592.744256,
|
|
"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": 744.0,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/unittest/test.py",
|
|
"process": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1751.977096,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140549760135424,
|
|
"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-15 20:46:32,744",
|
|
"created": 1755283592.7444358,
|
|
"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": 744.0,
|
|
"msg": "Expectation (%s): result %s %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/unittest/test.py",
|
|
"process": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1752.156891,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140549760135424,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Submitted value number 1",
|
|
"2",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2025-08-15 20:46:32,744",
|
|
"created": 1755283592.744658,
|
|
"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": 744.0,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/unittest/test.py",
|
|
"process": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1752.379032,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140549760135424,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Submitted value number 1",
|
|
"=",
|
|
"2",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2025-08-15 20:46:32,744",
|
|
"created": 1755283592.744843,
|
|
"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": 744.0,
|
|
"msg": "Expectation (%s): result %s %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/unittest/test.py",
|
|
"process": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1752.564056,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140549760135424,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"2",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2025-08-15 20:46:32,745",
|
|
"created": 1755283592.7450244,
|
|
"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": 745.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": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1752.74545,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140549760135424,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Submitted value number 2",
|
|
"5",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2025-08-15 20:46:32,745",
|
|
"created": 1755283592.7451913,
|
|
"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": 745.0,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/unittest/test.py",
|
|
"process": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1752.91254,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140549760135424,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Submitted value number 2",
|
|
"=",
|
|
"5",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2025-08-15 20:46:32,745",
|
|
"created": 1755283592.7453413,
|
|
"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": 745.0,
|
|
"msg": "Expectation (%s): result %s %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/unittest/test.py",
|
|
"process": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1753.062302,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140549760135424,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"5",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2025-08-15 20:46:32,745",
|
|
"created": 1755283592.7454846,
|
|
"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": 745.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": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1753.205473,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140549760135424,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Submitted value number 3",
|
|
"8",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2025-08-15 20:46:32,745",
|
|
"created": 1755283592.745656,
|
|
"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": 745.0,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/unittest/test.py",
|
|
"process": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1753.377173,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140549760135424,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Submitted value number 3",
|
|
"=",
|
|
"8",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2025-08-15 20:46:32,745",
|
|
"created": 1755283592.7458057,
|
|
"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": 745.0,
|
|
"msg": "Expectation (%s): result %s %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/unittest/test.py",
|
|
"process": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1753.5269,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140549760135424,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"8",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2025-08-15 20:46:32,745",
|
|
"created": 1755283592.7459478,
|
|
"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": 745.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": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1753.669065,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140549760135424,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Submitted value number 4",
|
|
"11",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2025-08-15 20:46:32,746",
|
|
"created": 1755283592.7460942,
|
|
"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": 746.0,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/unittest/test.py",
|
|
"process": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1753.815463,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140549760135424,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Submitted value number 4",
|
|
"=",
|
|
"11",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2025-08-15 20:46:32,746",
|
|
"created": 1755283592.7462375,
|
|
"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": 746.0,
|
|
"msg": "Expectation (%s): result %s %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/unittest/test.py",
|
|
"process": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1753.958573,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140549760135424,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"11",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2025-08-15 20:46:32,746",
|
|
"created": 1755283592.7463794,
|
|
"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": 746.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": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1754.100396,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140549760135424,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 746.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": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1754.253053,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140549760135424,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.00015282630920410156
|
|
}
|
|
],
|
|
"thread": 140549760135424,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.01228785514831543,
|
|
"time_finished": "2025-08-15 20:46:32,746",
|
|
"time_start": "2025-08-15 20:46:32,734"
|
|
},
|
|
"REQ-0005": {
|
|
"args": null,
|
|
"asctime": "2025-08-15 20:46:31,067",
|
|
"created": 1755283591.06776,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "testCase",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 331,
|
|
"message": "REQ-0005",
|
|
"module": "__init__",
|
|
"moduleLogger": [],
|
|
"msecs": 67.0,
|
|
"msg": "REQ-0005",
|
|
"name": "__tLogger__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/report/__init__.py",
|
|
"process": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 75.48085,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"testcaseLogger": [
|
|
{
|
|
"args": [],
|
|
"asctime": "2025-08-15 20:46:31,068",
|
|
"created": 1755283591.0681844,
|
|
"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-15 20:46:31,068",
|
|
"created": 1755283591.0680892,
|
|
"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": 68.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": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 75.810368,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140549760135424,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 68.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": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 75.905456,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140549760135424,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 9.512901306152344e-05
|
|
},
|
|
{
|
|
"args": [
|
|
"'state_c'",
|
|
"<class 'str'>"
|
|
],
|
|
"asctime": "2025-08-15 20:46:31,068",
|
|
"created": 1755283591.0684502,
|
|
"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-15 20:46:31,068",
|
|
"created": 1755283591.0683088,
|
|
"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": 68.0,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/unittest/test.py",
|
|
"process": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 76.029682,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140549760135424,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"State after initialisation",
|
|
"=",
|
|
"'state_c'",
|
|
"<class 'str'>"
|
|
],
|
|
"asctime": "2025-08-15 20:46:31,068",
|
|
"created": 1755283591.0683742,
|
|
"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": 68.0,
|
|
"msg": "Expectation (%s): result %s %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/unittest/test.py",
|
|
"process": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 76.095222,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140549760135424,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 68.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": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 76.17139,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140549760135424,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 7.605552673339844e-05
|
|
}
|
|
],
|
|
"thread": 140549760135424,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.0006902217864990234,
|
|
"time_finished": "2025-08-15 20:46:31,068",
|
|
"time_start": "2025-08-15 20:46:31,067"
|
|
},
|
|
"REQ-0006": {
|
|
"args": null,
|
|
"asctime": "2025-08-15 20:46:31,068",
|
|
"created": 1755283591.0686474,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "testCase",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 331,
|
|
"message": "REQ-0006",
|
|
"module": "__init__",
|
|
"moduleLogger": [],
|
|
"msecs": 68.0,
|
|
"msg": "REQ-0006",
|
|
"name": "__tLogger__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/report/__init__.py",
|
|
"process": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 76.368399,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"testcaseLogger": [
|
|
{
|
|
"args": [],
|
|
"asctime": "2025-08-15 20:46:31,068",
|
|
"created": 1755283591.068813,
|
|
"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-15 20:46:31,068",
|
|
"created": 1755283591.068752,
|
|
"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": 68.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": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 76.473092,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140549760135424,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 68.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": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 76.534206,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140549760135424,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 6.103515625e-05
|
|
},
|
|
{
|
|
"args": [
|
|
"'__init__'",
|
|
"<class 'str'>"
|
|
],
|
|
"asctime": "2025-08-15 20:46:31,069",
|
|
"created": 1755283591.0690067,
|
|
"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-15 20:46:31,068",
|
|
"created": 1755283591.0689023,
|
|
"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": 68.0,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/unittest/test.py",
|
|
"process": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 76.623094,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140549760135424,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Last transition condition after initialisation",
|
|
"=",
|
|
"'__init__'",
|
|
"<class 'str'>"
|
|
],
|
|
"asctime": "2025-08-15 20:46:31,068",
|
|
"created": 1755283591.068956,
|
|
"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": 68.0,
|
|
"msg": "Expectation (%s): result %s %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/unittest/test.py",
|
|
"process": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 76.677001,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140549760135424,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 69.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": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 76.727532,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140549760135424,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 5.078315734863281e-05
|
|
}
|
|
],
|
|
"thread": 140549760135424,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.0003592967987060547,
|
|
"time_finished": "2025-08-15 20:46:31,069",
|
|
"time_start": "2025-08-15 20:46:31,068"
|
|
},
|
|
"REQ-0007": {
|
|
"args": null,
|
|
"asctime": "2025-08-15 20:46:31,069",
|
|
"created": 1755283591.0691512,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "testCase",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 331,
|
|
"message": "REQ-0007",
|
|
"module": "__init__",
|
|
"moduleLogger": [],
|
|
"msecs": 69.0,
|
|
"msg": "REQ-0007",
|
|
"name": "__tLogger__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/report/__init__.py",
|
|
"process": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 76.872397,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"testcaseLogger": [
|
|
{
|
|
"args": [],
|
|
"asctime": "2025-08-15 20:46:31,069",
|
|
"created": 1755283591.0693052,
|
|
"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-15 20:46:31,069",
|
|
"created": 1755283591.0692487,
|
|
"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": 69.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": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 76.969782,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140549760135424,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 69.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": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 77.026188,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140549760135424,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 5.650520324707031e-05
|
|
},
|
|
{
|
|
"args": [
|
|
"None",
|
|
"<class 'NoneType'>"
|
|
],
|
|
"asctime": "2025-08-15 20:46:31,069",
|
|
"created": 1755283591.0694807,
|
|
"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-15 20:46:31,069",
|
|
"created": 1755283591.069384,
|
|
"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": 69.0,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/unittest/test.py",
|
|
"process": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 77.105338,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140549760135424,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Last state after initialisation",
|
|
"=",
|
|
"None",
|
|
"<class 'NoneType'>"
|
|
],
|
|
"asctime": "2025-08-15 20:46:31,069",
|
|
"created": 1755283591.0694346,
|
|
"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": 69.0,
|
|
"msg": "Expectation (%s): result %s %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/unittest/test.py",
|
|
"process": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 77.155727,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140549760135424,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 69.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": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 77.201645,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140549760135424,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 4.601478576660156e-05
|
|
}
|
|
],
|
|
"thread": 140549760135424,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.0003294944763183594,
|
|
"time_finished": "2025-08-15 20:46:31,069",
|
|
"time_start": "2025-08-15 20:46:31,069"
|
|
},
|
|
"REQ-0008": {
|
|
"args": null,
|
|
"asctime": "2025-08-15 20:46:31,069",
|
|
"created": 1755283591.0696194,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "testCase",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 331,
|
|
"message": "REQ-0008",
|
|
"module": "__init__",
|
|
"moduleLogger": [],
|
|
"msecs": 69.0,
|
|
"msg": "REQ-0008",
|
|
"name": "__tLogger__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/report/__init__.py",
|
|
"process": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 77.340432,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"testcaseLogger": [
|
|
{
|
|
"args": [],
|
|
"asctime": "2025-08-15 20:46:31,069",
|
|
"created": 1755283591.0697782,
|
|
"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-15 20:46:31,069",
|
|
"created": 1755283591.0697167,
|
|
"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": 69.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": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 77.43768,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140549760135424,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 69.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": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 77.499244,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140549760135424,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 6.151199340820312e-05
|
|
},
|
|
{
|
|
"args": [
|
|
"1",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2025-08-15 20:46:31,069",
|
|
"created": 1755283591.0699553,
|
|
"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-15 20:46:31,069",
|
|
"created": 1755283591.0698547,
|
|
"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": 69.0,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/unittest/test.py",
|
|
"process": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 77.575675,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140549760135424,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Keyword argument kw_arg_no_1 stored in state_machine",
|
|
"=",
|
|
"1",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2025-08-15 20:46:31,069",
|
|
"created": 1755283591.0699074,
|
|
"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": 69.0,
|
|
"msg": "Expectation (%s): result %s %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/unittest/test.py",
|
|
"process": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 77.628626,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140549760135424,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 69.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": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 77.676321,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140549760135424,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 4.792213439941406e-05
|
|
},
|
|
{
|
|
"args": [
|
|
"'2'",
|
|
"<class 'str'>"
|
|
],
|
|
"asctime": "2025-08-15 20:46:31,070",
|
|
"created": 1755283591.0701299,
|
|
"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-15 20:46:31,070",
|
|
"created": 1755283591.0700305,
|
|
"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": 70.0,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/unittest/test.py",
|
|
"process": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 77.751345,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140549760135424,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Keyword argument kw_arg_no_2 stored in state_machine",
|
|
"=",
|
|
"'2'",
|
|
"<class 'str'>"
|
|
],
|
|
"asctime": "2025-08-15 20:46:31,070",
|
|
"created": 1755283591.0700777,
|
|
"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": 70.0,
|
|
"msg": "Expectation (%s): result %s %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/unittest/test.py",
|
|
"process": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 77.798668,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140549760135424,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 70.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": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 77.85092,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140549760135424,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 5.221366882324219e-05
|
|
},
|
|
{
|
|
"args": [
|
|
"True",
|
|
"<class 'bool'>"
|
|
],
|
|
"asctime": "2025-08-15 20:46:31,070",
|
|
"created": 1755283591.070299,
|
|
"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-15 20:46:31,070",
|
|
"created": 1755283591.0702064,
|
|
"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": 70.0,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/unittest/test.py",
|
|
"process": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 77.927442,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140549760135424,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Keyword argument kw_arg_no_3 stored in state_machine",
|
|
"=",
|
|
"True",
|
|
"<class 'bool'>"
|
|
],
|
|
"asctime": "2025-08-15 20:46:31,070",
|
|
"created": 1755283591.070254,
|
|
"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": 70.0,
|
|
"msg": "Expectation (%s): result %s %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/unittest/test.py",
|
|
"process": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 77.975159,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140549760135424,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 70.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": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 78.019972,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140549760135424,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 4.482269287109375e-05
|
|
},
|
|
{
|
|
"args": [
|
|
"{'1': 1, '2': 'two'}",
|
|
"<class 'dict'>"
|
|
],
|
|
"asctime": "2025-08-15 20:46:31,070",
|
|
"created": 1755283591.0705187,
|
|
"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-15 20:46:31,070",
|
|
"created": 1755283591.0703793,
|
|
"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": 70.0,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/unittest/test.py",
|
|
"process": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 78.100443,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140549760135424,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Keyword argument kw_arg_no_4 stored in state_machine",
|
|
"=",
|
|
"{ '1': 1, '2': 'two' }",
|
|
"<class 'dict'>"
|
|
],
|
|
"asctime": "2025-08-15 20:46:31,070",
|
|
"created": 1755283591.0704334,
|
|
"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": 70.0,
|
|
"msg": "Expectation (%s): result %s %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/unittest/test.py",
|
|
"process": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 78.154367,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140549760135424,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 70.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": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 78.239713,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140549760135424,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 8.535385131835938e-05
|
|
}
|
|
],
|
|
"thread": 140549760135424,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.0008993148803710938,
|
|
"time_finished": "2025-08-15 20:46:31,070",
|
|
"time_start": "2025-08-15 20:46:31,069"
|
|
},
|
|
"REQ-0009": {
|
|
"args": null,
|
|
"asctime": "2025-08-15 20:46:31,695",
|
|
"created": 1755283591.695028,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "testCase",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 331,
|
|
"message": "REQ-0009",
|
|
"module": "__init__",
|
|
"moduleLogger": [],
|
|
"msecs": 695.0,
|
|
"msg": "REQ-0009",
|
|
"name": "__tLogger__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/report/__init__.py",
|
|
"process": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 702.749013,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"testcaseLogger": [
|
|
{
|
|
"args": [],
|
|
"asctime": "2025-08-15 20:46:31,695",
|
|
"created": 1755283591.69557,
|
|
"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-15 20:46:31,695",
|
|
"created": 1755283591.695376,
|
|
"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": 695.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": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 703.096879,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140549760135424,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 695.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": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 703.291054,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140549760135424,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.00019407272338867188
|
|
},
|
|
{
|
|
"args": [
|
|
"'state_c'",
|
|
"<class 'str'>"
|
|
],
|
|
"asctime": "2025-08-15 20:46:31,696",
|
|
"created": 1755283591.696182,
|
|
"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-15 20:46:31,695",
|
|
"created": 1755283591.6958344,
|
|
"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": 695.0,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/unittest/test.py",
|
|
"process": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 703.555351,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140549760135424,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Returnvalue of this_state()",
|
|
"=",
|
|
"'state_c'",
|
|
"<class 'str'>"
|
|
],
|
|
"asctime": "2025-08-15 20:46:31,696",
|
|
"created": 1755283591.6960251,
|
|
"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": 696.0,
|
|
"msg": "Expectation (%s): result %s %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/unittest/test.py",
|
|
"process": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 703.746067,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140549760135424,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 696.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": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 703.902999,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140549760135424,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.00015687942504882812
|
|
}
|
|
],
|
|
"thread": 140549760135424,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.0011539459228515625,
|
|
"time_finished": "2025-08-15 20:46:31,696",
|
|
"time_start": "2025-08-15 20:46:31,695"
|
|
},
|
|
"REQ-0010": {
|
|
"args": null,
|
|
"asctime": "2025-08-15 20:46:31,696",
|
|
"created": 1755283591.6966643,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "testCase",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 331,
|
|
"message": "REQ-0010",
|
|
"module": "__init__",
|
|
"moduleLogger": [],
|
|
"msecs": 696.0,
|
|
"msg": "REQ-0010",
|
|
"name": "__tLogger__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/report/__init__.py",
|
|
"process": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 704.385343,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"testcaseLogger": [
|
|
{
|
|
"args": [],
|
|
"asctime": "2025-08-15 20:46:31,697",
|
|
"created": 1755283591.6971686,
|
|
"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-15 20:46:31,696",
|
|
"created": 1755283591.6969829,
|
|
"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": 696.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": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 704.703736,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140549760135424,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 697.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": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 704.889691,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140549760135424,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.0001857280731201172
|
|
},
|
|
{
|
|
"args": [
|
|
"True",
|
|
"<class 'bool'>"
|
|
],
|
|
"asctime": "2025-08-15 20:46:31,697",
|
|
"created": 1755283591.6977623,
|
|
"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-15 20:46:31,697",
|
|
"created": 1755283591.6974251,
|
|
"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": 697.0,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/unittest/test.py",
|
|
"process": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 705.146249,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140549760135424,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Returnvalue of this_state_is(state_c)",
|
|
"=",
|
|
"True",
|
|
"<class 'bool'>"
|
|
],
|
|
"asctime": "2025-08-15 20:46:31,697",
|
|
"created": 1755283591.6976082,
|
|
"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": 697.0,
|
|
"msg": "Expectation (%s): result %s %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/unittest/test.py",
|
|
"process": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 705.329309,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140549760135424,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 697.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": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 705.483363,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140549760135424,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.00015401840209960938
|
|
},
|
|
{
|
|
"args": [
|
|
"False",
|
|
"<class 'bool'>"
|
|
],
|
|
"asctime": "2025-08-15 20:46:31,698",
|
|
"created": 1755283591.6983125,
|
|
"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-15 20:46:31,698",
|
|
"created": 1755283591.6980135,
|
|
"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": 698.0,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/unittest/test.py",
|
|
"process": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 705.734475,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140549760135424,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Returnvalue of this_state_is(state_b)",
|
|
"=",
|
|
"False",
|
|
"<class 'bool'>"
|
|
],
|
|
"asctime": "2025-08-15 20:46:31,698",
|
|
"created": 1755283591.6981678,
|
|
"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": 698.0,
|
|
"msg": "Expectation (%s): result %s %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/unittest/test.py",
|
|
"process": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 705.888753,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140549760135424,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 698.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": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 706.033381,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140549760135424,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.00014472007751464844
|
|
}
|
|
],
|
|
"thread": 140549760135424,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.0016481876373291016,
|
|
"time_finished": "2025-08-15 20:46:31,698",
|
|
"time_start": "2025-08-15 20:46:31,696"
|
|
},
|
|
"REQ-0011": {
|
|
"args": null,
|
|
"asctime": "2025-08-15 20:46:31,698",
|
|
"created": 1755283591.6988358,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "testCase",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 331,
|
|
"message": "REQ-0011",
|
|
"module": "__init__",
|
|
"moduleLogger": [],
|
|
"msecs": 698.0,
|
|
"msg": "REQ-0011",
|
|
"name": "__tLogger__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/report/__init__.py",
|
|
"process": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 706.557137,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"testcaseLogger": [
|
|
{
|
|
"args": [],
|
|
"asctime": "2025-08-15 20:46:31,950",
|
|
"created": 1755283591.9501631,
|
|
"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-15 20:46:31,699",
|
|
"created": 1755283591.699163,
|
|
"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": 699.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": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 706.884034,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140549760135424,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"StateMachine:",
|
|
"'condition_a'",
|
|
"'state_a'",
|
|
"'state_b'"
|
|
],
|
|
"asctime": "2025-08-15 20:46:31,699",
|
|
"created": 1755283591.6994655,
|
|
"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": 699.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": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 707.186397,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140549760135424,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
0.25
|
|
],
|
|
"asctime": "2025-08-15 20:46:31,949",
|
|
"created": 1755283591.9498806,
|
|
"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": 949.0,
|
|
"msg": "Waiting for %.2fs",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/tests/test_interface.py",
|
|
"process": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 957.601649,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140549760135424,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 950.0,
|
|
"msg": "Running state machine test sequence.",
|
|
"name": "__tLogger__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/tests/test_interface.py",
|
|
"process": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 957.884219,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140549760135424,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.00028252601623535156
|
|
},
|
|
{
|
|
"args": [
|
|
"0.2508425712585449",
|
|
"0.2",
|
|
"0.3",
|
|
"<class 'float'>"
|
|
],
|
|
"asctime": "2025-08-15 20:46:31,950",
|
|
"created": 1755283591.9508858,
|
|
"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.2508425712585449 in [0.2 ... 0.3] and Type is <class 'float'>).",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"Return Value of this_state_duration()",
|
|
"0.2508425712585449",
|
|
"<class 'float'>"
|
|
],
|
|
"asctime": "2025-08-15 20:46:31,950",
|
|
"created": 1755283591.9505231,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_result__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 22,
|
|
"message": "Result (Return Value of this_state_duration()): 0.2508425712585449 (<class 'float'>)",
|
|
"module": "test",
|
|
"msecs": 950.0,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/unittest/test.py",
|
|
"process": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 958.244242,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140549760135424,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Return Value of this_state_duration()",
|
|
"0.2",
|
|
"0.3"
|
|
],
|
|
"asctime": "2025-08-15 20:46:31,950",
|
|
"created": 1755283591.9507217,
|
|
"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": 950.0,
|
|
"msg": "Expectation (%s): %s <= result <= %s",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/unittest/test.py",
|
|
"process": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 958.442804,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140549760135424,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 950.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": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 958.60705,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140549760135424,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.000164031982421875
|
|
}
|
|
],
|
|
"thread": 140549760135424,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.25204992294311523,
|
|
"time_finished": "2025-08-15 20:46:31,950",
|
|
"time_start": "2025-08-15 20:46:31,698"
|
|
},
|
|
"REQ-0012": {
|
|
"args": null,
|
|
"asctime": "2025-08-15 20:46:31,951",
|
|
"created": 1755283591.9513514,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "testCase",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 331,
|
|
"message": "REQ-0012",
|
|
"module": "__init__",
|
|
"moduleLogger": [],
|
|
"msecs": 951.0,
|
|
"msg": "REQ-0012",
|
|
"name": "__tLogger__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/report/__init__.py",
|
|
"process": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 959.072326,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"testcaseLogger": [
|
|
{
|
|
"args": [],
|
|
"asctime": "2025-08-15 20:46:31,952",
|
|
"created": 1755283591.9520476,
|
|
"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-15 20:46:31,951",
|
|
"created": 1755283591.951648,
|
|
"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": 951.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": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 959.369178,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140549760135424,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"StateMachine:",
|
|
"'condition_a'",
|
|
"'state_a'",
|
|
"'state_b'"
|
|
],
|
|
"asctime": "2025-08-15 20:46:31,951",
|
|
"created": 1755283591.9518895,
|
|
"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": 951.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": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 959.610533,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140549760135424,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 952.0,
|
|
"msg": "Running state machine test sequence.",
|
|
"name": "__tLogger__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/tests/test_interface.py",
|
|
"process": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 959.768721,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140549760135424,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.00015807151794433594
|
|
},
|
|
{
|
|
"args": [
|
|
"'condition_a'",
|
|
"<class 'str'>"
|
|
],
|
|
"asctime": "2025-08-15 20:46:31,952",
|
|
"created": 1755283591.9526083,
|
|
"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-15 20:46:31,952",
|
|
"created": 1755283591.952301,
|
|
"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": 952.0,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/unittest/test.py",
|
|
"process": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 960.022031,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140549760135424,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Returnvalue of last_transition_condition()",
|
|
"=",
|
|
"'condition_a'",
|
|
"<class 'str'>"
|
|
],
|
|
"asctime": "2025-08-15 20:46:31,952",
|
|
"created": 1755283591.952458,
|
|
"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": 952.0,
|
|
"msg": "Expectation (%s): result %s %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/unittest/test.py",
|
|
"process": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 960.17915,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140549760135424,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 952.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": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 960.329281,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140549760135424,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.00015044212341308594
|
|
}
|
|
],
|
|
"thread": 140549760135424,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.0012569427490234375,
|
|
"time_finished": "2025-08-15 20:46:31,952",
|
|
"time_start": "2025-08-15 20:46:31,951"
|
|
},
|
|
"REQ-0013": {
|
|
"args": null,
|
|
"asctime": "2025-08-15 20:46:31,953",
|
|
"created": 1755283591.9530215,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "testCase",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 331,
|
|
"message": "REQ-0013",
|
|
"module": "__init__",
|
|
"moduleLogger": [],
|
|
"msecs": 953.0,
|
|
"msg": "REQ-0013",
|
|
"name": "__tLogger__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/report/__init__.py",
|
|
"process": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 960.742547,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"testcaseLogger": [
|
|
{
|
|
"args": [],
|
|
"asctime": "2025-08-15 20:46:31,953",
|
|
"created": 1755283591.9537506,
|
|
"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-15 20:46:31,953",
|
|
"created": 1755283591.9533105,
|
|
"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": 953.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": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 961.031617,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140549760135424,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"StateMachine:",
|
|
"'condition_a'",
|
|
"'state_a'",
|
|
"'state_b'"
|
|
],
|
|
"asctime": "2025-08-15 20:46:31,953",
|
|
"created": 1755283591.9535742,
|
|
"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": 953.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": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 961.295268,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140549760135424,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 953.0,
|
|
"msg": "Running state machine test sequence.",
|
|
"name": "__tLogger__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/tests/test_interface.py",
|
|
"process": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 961.471581,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140549760135424,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.00017642974853515625
|
|
},
|
|
{
|
|
"args": [
|
|
"True",
|
|
"<class 'bool'>"
|
|
],
|
|
"asctime": "2025-08-15 20:46:31,954",
|
|
"created": 1755283591.9542813,
|
|
"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-15 20:46:31,953",
|
|
"created": 1755283591.9539976,
|
|
"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": 953.0,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/unittest/test.py",
|
|
"process": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 961.718615,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140549760135424,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Returnvalue of last_transition_condition(condition_a)",
|
|
"=",
|
|
"True",
|
|
"<class 'bool'>"
|
|
],
|
|
"asctime": "2025-08-15 20:46:31,954",
|
|
"created": 1755283591.9541452,
|
|
"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": 954.0,
|
|
"msg": "Expectation (%s): result %s %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/unittest/test.py",
|
|
"process": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 961.866435,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140549760135424,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 954.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": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 962.0022,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140549760135424,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.0001361370086669922
|
|
},
|
|
{
|
|
"args": [
|
|
"False",
|
|
"<class 'bool'>"
|
|
],
|
|
"asctime": "2025-08-15 20:46:31,954",
|
|
"created": 1755283591.9548478,
|
|
"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-15 20:46:31,954",
|
|
"created": 1755283591.9544995,
|
|
"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": 954.0,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/unittest/test.py",
|
|
"process": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 962.220593,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140549760135424,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Returnvalue of last_transition_condition(condition_c)",
|
|
"=",
|
|
"False",
|
|
"<class 'bool'>"
|
|
],
|
|
"asctime": "2025-08-15 20:46:31,954",
|
|
"created": 1755283591.9547024,
|
|
"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": 954.0,
|
|
"msg": "Expectation (%s): result %s %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/unittest/test.py",
|
|
"process": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 962.423466,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140549760135424,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 954.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": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 962.568855,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140549760135424,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.00014543533325195312
|
|
}
|
|
],
|
|
"thread": 140549760135424,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.0018262863159179688,
|
|
"time_finished": "2025-08-15 20:46:31,954",
|
|
"time_start": "2025-08-15 20:46:31,953"
|
|
},
|
|
"REQ-0014": {
|
|
"args": null,
|
|
"asctime": "2025-08-15 20:46:31,955",
|
|
"created": 1755283591.9553118,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "testCase",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 331,
|
|
"message": "REQ-0014",
|
|
"module": "__init__",
|
|
"moduleLogger": [],
|
|
"msecs": 955.0,
|
|
"msg": "REQ-0014",
|
|
"name": "__tLogger__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/report/__init__.py",
|
|
"process": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 963.032997,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"testcaseLogger": [
|
|
{
|
|
"args": [],
|
|
"asctime": "2025-08-15 20:46:31,956",
|
|
"created": 1755283591.9561312,
|
|
"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-15 20:46:31,955",
|
|
"created": 1755283591.9557397,
|
|
"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": 955.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": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 963.460666,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140549760135424,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"StateMachine:",
|
|
"'condition_a'",
|
|
"'state_a'",
|
|
"'state_b'"
|
|
],
|
|
"asctime": "2025-08-15 20:46:31,955",
|
|
"created": 1755283591.9559743,
|
|
"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": 955.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": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 963.695533,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140549760135424,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 956.0,
|
|
"msg": "Running state machine test sequence.",
|
|
"name": "__tLogger__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/tests/test_interface.py",
|
|
"process": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 963.852264,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140549760135424,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.00015687942504882812
|
|
},
|
|
{
|
|
"args": [
|
|
"'state_a'",
|
|
"<class 'str'>"
|
|
],
|
|
"asctime": "2025-08-15 20:46:31,956",
|
|
"created": 1755283591.9566653,
|
|
"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-15 20:46:31,956",
|
|
"created": 1755283591.956363,
|
|
"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": 956.0,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/unittest/test.py",
|
|
"process": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 964.084149,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140549760135424,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Returnvalue of previous_state()",
|
|
"=",
|
|
"'state_a'",
|
|
"<class 'str'>"
|
|
],
|
|
"asctime": "2025-08-15 20:46:31,956",
|
|
"created": 1755283591.9565237,
|
|
"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": 956.0,
|
|
"msg": "Expectation (%s): result %s %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/unittest/test.py",
|
|
"process": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 964.244828,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140549760135424,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 956.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": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 964.386516,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140549760135424,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.00014162063598632812
|
|
}
|
|
],
|
|
"thread": 140549760135424,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.0013535022735595703,
|
|
"time_finished": "2025-08-15 20:46:31,956",
|
|
"time_start": "2025-08-15 20:46:31,955"
|
|
},
|
|
"REQ-0015": {
|
|
"args": null,
|
|
"asctime": "2025-08-15 20:46:31,957",
|
|
"created": 1755283591.957299,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "testCase",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 331,
|
|
"message": "REQ-0015",
|
|
"module": "__init__",
|
|
"moduleLogger": [],
|
|
"msecs": 957.0,
|
|
"msg": "REQ-0015",
|
|
"name": "__tLogger__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/report/__init__.py",
|
|
"process": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 965.020102,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"testcaseLogger": [
|
|
{
|
|
"args": [],
|
|
"asctime": "2025-08-15 20:46:31,958",
|
|
"created": 1755283591.9583695,
|
|
"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-15 20:46:31,957",
|
|
"created": 1755283591.9577594,
|
|
"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": 957.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": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 965.480465,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140549760135424,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"StateMachine:",
|
|
"'condition_a'",
|
|
"'state_a'",
|
|
"'state_b'"
|
|
],
|
|
"asctime": "2025-08-15 20:46:31,958",
|
|
"created": 1755283591.958153,
|
|
"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": 958.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": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 965.874021,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140549760135424,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 958.0,
|
|
"msg": "Running state machine test sequence.",
|
|
"name": "__tLogger__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/tests/test_interface.py",
|
|
"process": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 966.090545,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140549760135424,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.00021648406982421875
|
|
},
|
|
{
|
|
"args": [
|
|
"True",
|
|
"<class 'bool'>"
|
|
],
|
|
"asctime": "2025-08-15 20:46:31,959",
|
|
"created": 1755283591.9590364,
|
|
"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-15 20:46:31,958",
|
|
"created": 1755283591.9586713,
|
|
"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": 958.0,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/unittest/test.py",
|
|
"process": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 966.392393,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140549760135424,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Returnvalue of previous_state_was(state_a)",
|
|
"=",
|
|
"True",
|
|
"<class 'bool'>"
|
|
],
|
|
"asctime": "2025-08-15 20:46:31,958",
|
|
"created": 1755283591.958854,
|
|
"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": 958.0,
|
|
"msg": "Expectation (%s): result %s %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/unittest/test.py",
|
|
"process": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 966.574995,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140549760135424,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 959.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": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 966.757341,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140549760135424,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.0001823902130126953
|
|
},
|
|
{
|
|
"args": [
|
|
"False",
|
|
"<class 'bool'>"
|
|
],
|
|
"asctime": "2025-08-15 20:46:31,959",
|
|
"created": 1755283591.95966,
|
|
"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-15 20:46:31,959",
|
|
"created": 1755283591.9593728,
|
|
"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": 959.0,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/unittest/test.py",
|
|
"process": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 967.093855,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140549760135424,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Returnvalue of previous_state_was(state_b)",
|
|
"=",
|
|
"False",
|
|
"<class 'bool'>"
|
|
],
|
|
"asctime": "2025-08-15 20:46:31,959",
|
|
"created": 1755283591.9595256,
|
|
"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": 959.0,
|
|
"msg": "Expectation (%s): result %s %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/unittest/test.py",
|
|
"process": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 967.246683,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140549760135424,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 959.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": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 967.380998,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140549760135424,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.00013446807861328125
|
|
}
|
|
],
|
|
"thread": 140549760135424,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.0023610591888427734,
|
|
"time_finished": "2025-08-15 20:46:31,959",
|
|
"time_start": "2025-08-15 20:46:31,957"
|
|
},
|
|
"REQ-0016": {
|
|
"args": null,
|
|
"asctime": "2025-08-15 20:46:31,960",
|
|
"created": 1755283591.9601035,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "testCase",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 331,
|
|
"message": "REQ-0016",
|
|
"module": "__init__",
|
|
"moduleLogger": [],
|
|
"msecs": 960.0,
|
|
"msg": "REQ-0016",
|
|
"name": "__tLogger__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/report/__init__.py",
|
|
"process": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 967.824478,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"testcaseLogger": [
|
|
{
|
|
"args": [],
|
|
"asctime": "2025-08-15 20:46:32,711",
|
|
"created": 1755283592.7117796,
|
|
"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-15 20:46:31,960",
|
|
"created": 1755283591.960539,
|
|
"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": 960.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": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 968.260286,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140549760135424,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"StateMachine:",
|
|
"'condition_a'",
|
|
"'state_a'",
|
|
"'state_b'"
|
|
],
|
|
"asctime": "2025-08-15 20:46:31,960",
|
|
"created": 1755283591.9607842,
|
|
"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": 960.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": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 968.505268,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140549760135424,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
0.75
|
|
],
|
|
"asctime": "2025-08-15 20:46:31,960",
|
|
"created": 1755283591.9609401,
|
|
"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": 960.0,
|
|
"msg": "Waiting for %.2fs",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/tests/test_interface.py",
|
|
"process": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 968.660968,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140549760135424,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"StateMachine:",
|
|
"'condition_b'",
|
|
"'state_b'",
|
|
"'state_a'"
|
|
],
|
|
"asctime": "2025-08-15 20:46:32,711",
|
|
"created": 1755283592.7114766,
|
|
"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": 711.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": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1719.197485,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140549760135424,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 711.0,
|
|
"msg": "Running state machine test sequence.",
|
|
"name": "__tLogger__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/tests/test_interface.py",
|
|
"process": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1719.500739,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140549760135424,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.00030303001403808594
|
|
},
|
|
{
|
|
"args": [
|
|
"0.7508196830749512",
|
|
"0.7",
|
|
"0.8",
|
|
"<class 'float'>"
|
|
],
|
|
"asctime": "2025-08-15 20:46:32,712",
|
|
"created": 1755283592.7125483,
|
|
"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.7508196830749512 in [0.7 ... 0.8] and Type is <class 'float'>).",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"Return Value of previous_state_duration()",
|
|
"0.7508196830749512",
|
|
"<class 'float'>"
|
|
],
|
|
"asctime": "2025-08-15 20:46:32,712",
|
|
"created": 1755283592.7121446,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_result__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 22,
|
|
"message": "Result (Return Value of previous_state_duration()): 0.7508196830749512 (<class 'float'>)",
|
|
"module": "test",
|
|
"msecs": 712.0,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/unittest/test.py",
|
|
"process": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1719.865641,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140549760135424,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Return Value of previous_state_duration()",
|
|
"0.7",
|
|
"0.8"
|
|
],
|
|
"asctime": "2025-08-15 20:46:32,712",
|
|
"created": 1755283592.7123659,
|
|
"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": 712.0,
|
|
"msg": "Expectation (%s): %s <= result <= %s",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/unittest/test.py",
|
|
"process": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1720.086816,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140549760135424,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 712.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": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1720.269491,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140549760135424,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.0001823902130126953
|
|
}
|
|
],
|
|
"thread": 140549760135424,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.7524447441101074,
|
|
"time_finished": "2025-08-15 20:46:32,712",
|
|
"time_start": "2025-08-15 20:46:31,960"
|
|
},
|
|
"REQ-0017": {
|
|
"args": null,
|
|
"asctime": "2025-08-15 20:46:31,070",
|
|
"created": 1755283591.0706878,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "testCase",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 331,
|
|
"message": "REQ-0017",
|
|
"module": "__init__",
|
|
"moduleLogger": [],
|
|
"msecs": 70.0,
|
|
"msg": "REQ-0017",
|
|
"name": "__tLogger__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/report/__init__.py",
|
|
"process": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 78.408823,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"testcaseLogger": [
|
|
{
|
|
"args": [],
|
|
"asctime": "2025-08-15 20:46:31,070",
|
|
"created": 1755283591.0708919,
|
|
"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-15 20:46:31,070",
|
|
"created": 1755283591.0708299,
|
|
"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": 70.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": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 78.55083,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140549760135424,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 70.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": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 78.61271,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140549760135424,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 6.198883056640625e-05
|
|
},
|
|
{
|
|
"args": [
|
|
"'state_a'",
|
|
"<class 'str'>"
|
|
],
|
|
"asctime": "2025-08-15 20:46:31,071",
|
|
"created": 1755283591.071075,
|
|
"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-15 20:46:31,070",
|
|
"created": 1755283591.070973,
|
|
"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": 70.0,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/unittest/test.py",
|
|
"process": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 78.693903,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140549760135424,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Initial state after Initialisation",
|
|
"=",
|
|
"'state_a'",
|
|
"<class 'str'>"
|
|
],
|
|
"asctime": "2025-08-15 20:46:31,071",
|
|
"created": 1755283591.0710273,
|
|
"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": 71.0,
|
|
"msg": "Expectation (%s): result %s %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/unittest/test.py",
|
|
"process": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 78.748311,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140549760135424,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 71.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": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 78.796226,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140549760135424,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 4.76837158203125e-05
|
|
},
|
|
{
|
|
"args": [],
|
|
"asctime": "2025-08-15 20:46:31,071",
|
|
"created": 1755283591.0712633,
|
|
"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-15 20:46:31,071",
|
|
"created": 1755283591.071196,
|
|
"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": 71.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": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 78.91729,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140549760135424,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 71.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": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 78.984362,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140549760135424,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 6.723403930664062e-05
|
|
},
|
|
{
|
|
"args": [
|
|
"'state_b'",
|
|
"<class 'str'>"
|
|
],
|
|
"asctime": "2025-08-15 20:46:31,071",
|
|
"created": 1755283591.0714447,
|
|
"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-15 20:46:31,071",
|
|
"created": 1755283591.071345,
|
|
"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": 71.0,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/unittest/test.py",
|
|
"process": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 79.066149,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140549760135424,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"State after 1st execution of work method",
|
|
"=",
|
|
"'state_b'",
|
|
"<class 'str'>"
|
|
],
|
|
"asctime": "2025-08-15 20:46:31,071",
|
|
"created": 1755283591.0713952,
|
|
"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": 71.0,
|
|
"msg": "Expectation (%s): result %s %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/unittest/test.py",
|
|
"process": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 79.116006,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140549760135424,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 71.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": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 79.165835,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140549760135424,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 4.9591064453125e-05
|
|
},
|
|
{
|
|
"args": [],
|
|
"asctime": "2025-08-15 20:46:31,071",
|
|
"created": 1755283591.0715852,
|
|
"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-15 20:46:31,071",
|
|
"created": 1755283591.071531,
|
|
"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": 71.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": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 79.251969,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140549760135424,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 71.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": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 79.306216,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140549760135424,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 5.412101745605469e-05
|
|
},
|
|
{
|
|
"args": [
|
|
"'state_c'",
|
|
"<class 'str'>"
|
|
],
|
|
"asctime": "2025-08-15 20:46:31,071",
|
|
"created": 1755283591.0717561,
|
|
"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-15 20:46:31,071",
|
|
"created": 1755283591.0716617,
|
|
"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": 71.0,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/unittest/test.py",
|
|
"process": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 79.382931,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140549760135424,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"State after 2nd execution of work method",
|
|
"=",
|
|
"'state_c'",
|
|
"<class 'str'>"
|
|
],
|
|
"asctime": "2025-08-15 20:46:31,071",
|
|
"created": 1755283591.07171,
|
|
"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": 71.0,
|
|
"msg": "Expectation (%s): result %s %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/unittest/test.py",
|
|
"process": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 79.43135,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140549760135424,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 71.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": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 79.477019,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140549760135424,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 4.601478576660156e-05
|
|
},
|
|
{
|
|
"args": [],
|
|
"asctime": "2025-08-15 20:46:31,071",
|
|
"created": 1755283591.0718293,
|
|
"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": 71.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": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 79.550286,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140549760135424,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.0
|
|
},
|
|
{
|
|
"args": [
|
|
"'state_c'",
|
|
"<class 'str'>"
|
|
],
|
|
"asctime": "2025-08-15 20:46:31,072",
|
|
"created": 1755283591.072004,
|
|
"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-15 20:46:31,071",
|
|
"created": 1755283591.071911,
|
|
"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": 71.0,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/unittest/test.py",
|
|
"process": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 79.632102,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140549760135424,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"State after 3rd execution of work method",
|
|
"=",
|
|
"'state_c'",
|
|
"<class 'str'>"
|
|
],
|
|
"asctime": "2025-08-15 20:46:31,071",
|
|
"created": 1755283591.0719595,
|
|
"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": 71.0,
|
|
"msg": "Expectation (%s): result %s %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/unittest/test.py",
|
|
"process": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 79.680521,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140549760135424,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 72.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": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 79.7251,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140549760135424,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 4.458427429199219e-05
|
|
}
|
|
],
|
|
"thread": 140549760135424,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.0013163089752197266,
|
|
"time_finished": "2025-08-15 20:46:31,072",
|
|
"time_start": "2025-08-15 20:46:31,070"
|
|
},
|
|
"REQ-0018": {
|
|
"args": null,
|
|
"asctime": "2025-08-15 20:46:31,072",
|
|
"created": 1755283591.0721626,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "testCase",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 331,
|
|
"message": "REQ-0018",
|
|
"module": "__init__",
|
|
"moduleLogger": [],
|
|
"msecs": 72.0,
|
|
"msg": "REQ-0018",
|
|
"name": "__tLogger__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/report/__init__.py",
|
|
"process": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 79.883605,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"testcaseLogger": [
|
|
{
|
|
"args": [],
|
|
"asctime": "2025-08-15 20:46:31,072",
|
|
"created": 1755283591.0723941,
|
|
"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-15 20:46:31,072",
|
|
"created": 1755283591.0723267,
|
|
"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": 72.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": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 80.047822,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140549760135424,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 72.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": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 80.115195,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140549760135424,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 6.747245788574219e-05
|
|
},
|
|
{
|
|
"args": [
|
|
"'state_a'",
|
|
"<class 'str'>"
|
|
],
|
|
"asctime": "2025-08-15 20:46:31,072",
|
|
"created": 1755283591.07266,
|
|
"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-15 20:46:31,072",
|
|
"created": 1755283591.0724995,
|
|
"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": 72.0,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/unittest/test.py",
|
|
"process": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 80.22044,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140549760135424,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Initial state after Initialisation",
|
|
"=",
|
|
"'state_a'",
|
|
"<class 'str'>"
|
|
],
|
|
"asctime": "2025-08-15 20:46:31,072",
|
|
"created": 1755283591.072581,
|
|
"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": 72.0,
|
|
"msg": "Expectation (%s): result %s %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/unittest/test.py",
|
|
"process": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 80.302075,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140549760135424,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 72.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": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 80.380897,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140549760135424,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 7.891654968261719e-05
|
|
},
|
|
{
|
|
"args": [
|
|
0.16
|
|
],
|
|
"asctime": "2025-08-15 20:46:31,223",
|
|
"created": 1755283591.2232435,
|
|
"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-15 20:46:31,222",
|
|
"created": 1755283591.2229578,
|
|
"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": 222.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": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 230.678863,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140549760135424,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 223.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": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 230.96464,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140549760135424,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.0002856254577636719
|
|
},
|
|
{
|
|
"args": [
|
|
"'state_b'",
|
|
"<class 'str'>"
|
|
],
|
|
"asctime": "2025-08-15 20:46:31,223",
|
|
"created": 1755283591.2235904,
|
|
"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-15 20:46:31,223",
|
|
"created": 1755283591.2234735,
|
|
"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": 223.0,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/unittest/test.py",
|
|
"process": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 231.194832,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140549760135424,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"State after 1st cycle",
|
|
"=",
|
|
"'state_b'",
|
|
"<class 'str'>"
|
|
],
|
|
"asctime": "2025-08-15 20:46:31,223",
|
|
"created": 1755283591.2235372,
|
|
"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": 223.0,
|
|
"msg": "Expectation (%s): result %s %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/unittest/test.py",
|
|
"process": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 231.258287,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140549760135424,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 223.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": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 231.31133,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140549760135424,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 5.316734313964844e-05
|
|
},
|
|
{
|
|
"args": [
|
|
"0.1504664421081543",
|
|
"0.145",
|
|
"0.155",
|
|
"<class 'float'>"
|
|
],
|
|
"asctime": "2025-08-15 20:46:31,223",
|
|
"created": 1755283591.2238011,
|
|
"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.1504664421081543 in [0.145 ... 0.155] and Type is <class 'float'>).",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"Transition time after 1st cycle",
|
|
"0.1504664421081543",
|
|
"<class 'float'>"
|
|
],
|
|
"asctime": "2025-08-15 20:46:31,223",
|
|
"created": 1755283591.223684,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_result__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 22,
|
|
"message": "Result (Transition time after 1st cycle): 0.1504664421081543 (<class 'float'>)",
|
|
"module": "test",
|
|
"msecs": 223.0,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/unittest/test.py",
|
|
"process": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 231.405043,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140549760135424,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Transition time after 1st cycle",
|
|
"0.145",
|
|
"0.155"
|
|
],
|
|
"asctime": "2025-08-15 20:46:31,223",
|
|
"created": 1755283591.2237391,
|
|
"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": 223.0,
|
|
"msg": "Expectation (%s): %s <= result <= %s",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/unittest/test.py",
|
|
"process": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 231.460193,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140549760135424,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 223.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": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 231.52213,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140549760135424,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 6.198883056640625e-05
|
|
},
|
|
{
|
|
"args": [
|
|
0.235
|
|
],
|
|
"asctime": "2025-08-15 20:46:31,449",
|
|
"created": 1755283591.4493365,
|
|
"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-15 20:46:31,449",
|
|
"created": 1755283591.4490561,
|
|
"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": 449.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": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 456.777377,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140549760135424,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 449.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": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 457.057581,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140549760135424,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.0002803802490234375
|
|
},
|
|
{
|
|
"args": [
|
|
"'state_c'",
|
|
"<class 'str'>"
|
|
],
|
|
"asctime": "2025-08-15 20:46:31,449",
|
|
"created": 1755283591.4495993,
|
|
"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-15 20:46:31,449",
|
|
"created": 1755283591.449474,
|
|
"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": 449.0,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/unittest/test.py",
|
|
"process": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 457.195037,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140549760135424,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"State after 2nd cycle",
|
|
"=",
|
|
"'state_c'",
|
|
"<class 'str'>"
|
|
],
|
|
"asctime": "2025-08-15 20:46:31,449",
|
|
"created": 1755283591.4495344,
|
|
"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": 449.0,
|
|
"msg": "Expectation (%s): result %s %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/unittest/test.py",
|
|
"process": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 457.255541,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140549760135424,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 449.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": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 457.320346,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140549760135424,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 6.4849853515625e-05
|
|
},
|
|
{
|
|
"args": [
|
|
"0.15025973320007324",
|
|
"0.145",
|
|
"0.155",
|
|
"<class 'float'>"
|
|
],
|
|
"asctime": "2025-08-15 20:46:31,449",
|
|
"created": 1755283591.4498005,
|
|
"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.15025973320007324 in [0.145 ... 0.155] and Type is <class 'float'>).",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"Transition time after 2nd cycle",
|
|
"0.15025973320007324",
|
|
"<class 'float'>"
|
|
],
|
|
"asctime": "2025-08-15 20:46:31,449",
|
|
"created": 1755283591.449692,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_result__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 22,
|
|
"message": "Result (Transition time after 2nd cycle): 0.15025973320007324 (<class 'float'>)",
|
|
"module": "test",
|
|
"msecs": 449.0,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/unittest/test.py",
|
|
"process": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 457.412939,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140549760135424,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Transition time after 2nd cycle",
|
|
"0.145",
|
|
"0.155"
|
|
],
|
|
"asctime": "2025-08-15 20:46:31,449",
|
|
"created": 1755283591.4497461,
|
|
"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": 449.0,
|
|
"msg": "Expectation (%s): %s <= result <= %s",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/unittest/test.py",
|
|
"process": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 457.467129,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140549760135424,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 449.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": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 457.521613,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140549760135424,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 5.435943603515625e-05
|
|
},
|
|
{
|
|
"args": [
|
|
"0.22545480728149414",
|
|
"0.21999999999999997",
|
|
"0.22999999999999998",
|
|
"<class 'float'>"
|
|
],
|
|
"asctime": "2025-08-15 20:46:31,449",
|
|
"created": 1755283591.4499922,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "range_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 306,
|
|
"message": "Previous state duration is correct (Content 0.22545480728149414 in [0.21999999999999997 ... 0.22999999999999998] and Type is <class 'float'>).",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"Previous state duration",
|
|
"0.22545480728149414",
|
|
"<class 'float'>"
|
|
],
|
|
"asctime": "2025-08-15 20:46:31,449",
|
|
"created": 1755283591.4498835,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_result__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 22,
|
|
"message": "Result (Previous state duration): 0.22545480728149414 (<class 'float'>)",
|
|
"module": "test",
|
|
"msecs": 449.0,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/unittest/test.py",
|
|
"process": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 457.604317,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140549760135424,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Previous state duration",
|
|
"0.21999999999999997",
|
|
"0.22999999999999998"
|
|
],
|
|
"asctime": "2025-08-15 20:46:31,449",
|
|
"created": 1755283591.44994,
|
|
"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": 449.0,
|
|
"msg": "Expectation (%s): %s <= result <= %s",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/unittest/test.py",
|
|
"process": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 457.661005,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140549760135424,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 449.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": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 457.713339,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140549760135424,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 5.221366882324219e-05
|
|
}
|
|
],
|
|
"thread": 140549760135424,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.37782955169677734,
|
|
"time_finished": "2025-08-15 20:46:31,449",
|
|
"time_start": "2025-08-15 20:46:31,072"
|
|
},
|
|
"REQ-0019": {
|
|
"args": null,
|
|
"asctime": "2025-08-15 20:46:31,450",
|
|
"created": 1755283591.4501839,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "testCase",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 331,
|
|
"message": "REQ-0019",
|
|
"module": "__init__",
|
|
"moduleLogger": [],
|
|
"msecs": 450.0,
|
|
"msg": "REQ-0019",
|
|
"name": "__tLogger__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/report/__init__.py",
|
|
"process": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 457.904931,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"testcaseLogger": [
|
|
{
|
|
"args": [
|
|
0.151,
|
|
0.15
|
|
],
|
|
"asctime": "2025-08-15 20:46:31,450",
|
|
"created": 1755283591.4504392,
|
|
"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-15 20:46:31,450",
|
|
"created": 1755283591.4503584,
|
|
"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": 450.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": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 458.079268,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140549760135424,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 450.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": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 458.16017,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140549760135424,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 8.082389831542969e-05
|
|
},
|
|
{
|
|
"args": [
|
|
"'state_a'",
|
|
"<class 'str'>"
|
|
],
|
|
"asctime": "2025-08-15 20:46:31,450",
|
|
"created": 1755283591.4506688,
|
|
"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-15 20:46:31,450",
|
|
"created": 1755283591.450538,
|
|
"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": 450.0,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/unittest/test.py",
|
|
"process": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 458.258956,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140549760135424,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Initial state after Initialisation",
|
|
"=",
|
|
"'state_a'",
|
|
"<class 'str'>"
|
|
],
|
|
"asctime": "2025-08-15 20:46:31,450",
|
|
"created": 1755283591.4506118,
|
|
"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": 450.0,
|
|
"msg": "Expectation (%s): result %s %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/unittest/test.py",
|
|
"process": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 458.332805,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140549760135424,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 450.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": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 458.389953,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140549760135424,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 5.698204040527344e-05
|
|
},
|
|
{
|
|
"args": [
|
|
0.3
|
|
],
|
|
"asctime": "2025-08-15 20:46:31,693",
|
|
"created": 1755283591.69346,
|
|
"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": [
|
|
5.7220458984375e-06
|
|
],
|
|
"asctime": "2025-08-15 20:46:31,450",
|
|
"created": 1755283591.450767,
|
|
"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": 450.0,
|
|
"msg": "Executing method work after %.03fs",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/tests/test_transitions.py",
|
|
"process": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 458.488189,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140549760135424,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
0.06030416488647461
|
|
],
|
|
"asctime": "2025-08-15 20:46:31,511",
|
|
"created": 1755283591.5111609,
|
|
"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": 511.0,
|
|
"msg": "Executing method work after %.03fs",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/tests/test_transitions.py",
|
|
"process": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 518.88189,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140549760135424,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
0.12102437019348145
|
|
],
|
|
"asctime": "2025-08-15 20:46:31,571",
|
|
"created": 1755283591.5718477,
|
|
"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": 571.0,
|
|
"msg": "Executing method work after %.03fs",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/tests/test_transitions.py",
|
|
"process": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 579.568764,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140549760135424,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
0.1815652847290039
|
|
],
|
|
"asctime": "2025-08-15 20:46:31,632",
|
|
"created": 1755283591.6324022,
|
|
"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": 632.0,
|
|
"msg": "Executing method work after %.03fs",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/tests/test_transitions.py",
|
|
"process": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 640.123292,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140549760135424,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"StateMachine:",
|
|
"'condition_true'",
|
|
"'state_a'",
|
|
"'state_c'"
|
|
],
|
|
"asctime": "2025-08-15 20:46:31,632",
|
|
"created": 1755283591.6327848,
|
|
"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": 632.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": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 640.506014,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140549760135424,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 693.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": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 701.181005,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140549760135424,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.06067514419555664
|
|
},
|
|
{
|
|
"args": [
|
|
"'state_c'",
|
|
"<class 'str'>"
|
|
],
|
|
"asctime": "2025-08-15 20:46:31,694",
|
|
"created": 1755283591.6943734,
|
|
"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-15 20:46:31,693",
|
|
"created": 1755283591.6939647,
|
|
"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": 693.0,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/unittest/test.py",
|
|
"process": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 701.685947,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140549760135424,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"State after 1st cycle",
|
|
"=",
|
|
"'state_c'",
|
|
"<class 'str'>"
|
|
],
|
|
"asctime": "2025-08-15 20:46:31,694",
|
|
"created": 1755283591.694164,
|
|
"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": 694.0,
|
|
"msg": "Expectation (%s): result %s %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/unittest/test.py",
|
|
"process": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 701.885089,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140549760135424,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 694.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": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 702.094496,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140549760135424,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.00020933151245117188
|
|
}
|
|
],
|
|
"thread": 140549760135424,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.24418950080871582,
|
|
"time_finished": "2025-08-15 20:46:31,694",
|
|
"time_start": "2025-08-15 20:46:31,450"
|
|
},
|
|
"REQ-0020": {
|
|
"args": null,
|
|
"asctime": "2025-08-15 20:46:32,747",
|
|
"created": 1755283592.747173,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "testCase",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 331,
|
|
"message": "REQ-0020",
|
|
"module": "__init__",
|
|
"moduleLogger": [],
|
|
"msecs": 747.0,
|
|
"msg": "REQ-0020",
|
|
"name": "__tLogger__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/report/__init__.py",
|
|
"process": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1754.89409,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"testcaseLogger": [
|
|
{
|
|
"args": [],
|
|
"asctime": "2025-08-15 20:46:32,751",
|
|
"created": 1755283592.7510157,
|
|
"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-15 20:46:32,747",
|
|
"created": 1755283592.7475448,
|
|
"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": 747.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": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1755.265913,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140549760135424,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"StateMachine:",
|
|
"'condition_a'",
|
|
"'state_a'",
|
|
"'state_b'"
|
|
],
|
|
"asctime": "2025-08-15 20:46:32,747",
|
|
"created": 1755283592.7478487,
|
|
"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": 747.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": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1755.569658,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140549760135424,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
0,
|
|
"unittest.test",
|
|
"report_value"
|
|
],
|
|
"asctime": "2025-08-15 20:46:32,748",
|
|
"created": 1755283592.7480283,
|
|
"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": 748.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": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1755.749102,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140549760135424,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
2,
|
|
"unittest.test",
|
|
"report_value"
|
|
],
|
|
"asctime": "2025-08-15 20:46:32,748",
|
|
"created": 1755283592.7481797,
|
|
"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": 748.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": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1755.900689,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140549760135424,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"StateMachine:",
|
|
"'condition_b'",
|
|
"'state_b'",
|
|
"'state_a'"
|
|
],
|
|
"asctime": "2025-08-15 20:46:32,748",
|
|
"created": 1755283592.7483723,
|
|
"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": 748.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": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1756.09319,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140549760135424,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
1,
|
|
"unittest.test",
|
|
"report_value"
|
|
],
|
|
"asctime": "2025-08-15 20:46:32,748",
|
|
"created": 1755283592.748548,
|
|
"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": 748.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": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1756.269253,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140549760135424,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
2,
|
|
"unittest.test",
|
|
"report_value"
|
|
],
|
|
"asctime": "2025-08-15 20:46:32,748",
|
|
"created": 1755283592.7486897,
|
|
"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": 748.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": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1756.410726,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140549760135424,
|
|
"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-15 20:46:32,748",
|
|
"created": 1755283592.7488704,
|
|
"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": 748.0,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/unittest/test.py",
|
|
"process": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1756.591405,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140549760135424,
|
|
"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-15 20:46:32,749",
|
|
"created": 1755283592.7490416,
|
|
"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": 749.0,
|
|
"msg": "Expectation (%s): result %s %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/unittest/test.py",
|
|
"process": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1756.76262,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140549760135424,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Submitted value number 1",
|
|
"'specific callback for reaching state_b'",
|
|
"<class 'str'>"
|
|
],
|
|
"asctime": "2025-08-15 20:46:32,749",
|
|
"created": 1755283592.749203,
|
|
"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": 749.0,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/unittest/test.py",
|
|
"process": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1756.924119,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140549760135424,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Submitted value number 1",
|
|
"=",
|
|
"'specific callback for reaching state_b'",
|
|
"<class 'str'>"
|
|
],
|
|
"asctime": "2025-08-15 20:46:32,749",
|
|
"created": 1755283592.7493618,
|
|
"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": 749.0,
|
|
"msg": "Expectation (%s): result %s %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/unittest/test.py",
|
|
"process": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1757.082605,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140549760135424,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"'specific callback for reaching state_b'",
|
|
"<class 'str'>"
|
|
],
|
|
"asctime": "2025-08-15 20:46:32,749",
|
|
"created": 1755283592.7495089,
|
|
"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": 749.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": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1757.229902,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140549760135424,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Submitted value number 2",
|
|
"'nonspecific callback'",
|
|
"<class 'str'>"
|
|
],
|
|
"asctime": "2025-08-15 20:46:32,749",
|
|
"created": 1755283592.749657,
|
|
"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": 749.0,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/unittest/test.py",
|
|
"process": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1757.377903,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140549760135424,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Submitted value number 2",
|
|
"=",
|
|
"'nonspecific callback'",
|
|
"<class 'str'>"
|
|
],
|
|
"asctime": "2025-08-15 20:46:32,749",
|
|
"created": 1755283592.7498095,
|
|
"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": 749.0,
|
|
"msg": "Expectation (%s): result %s %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/unittest/test.py",
|
|
"process": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1757.530486,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140549760135424,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"'nonspecific callback'",
|
|
"<class 'str'>"
|
|
],
|
|
"asctime": "2025-08-15 20:46:32,749",
|
|
"created": 1755283592.7499523,
|
|
"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": 749.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": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1757.673207,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140549760135424,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Submitted value number 3",
|
|
"'specific callback for reaching state_a'",
|
|
"<class 'str'>"
|
|
],
|
|
"asctime": "2025-08-15 20:46:32,750",
|
|
"created": 1755283592.7500963,
|
|
"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": 750.0,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/unittest/test.py",
|
|
"process": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1757.817375,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140549760135424,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Submitted value number 3",
|
|
"=",
|
|
"'specific callback for reaching state_a'",
|
|
"<class 'str'>"
|
|
],
|
|
"asctime": "2025-08-15 20:46:32,750",
|
|
"created": 1755283592.7502332,
|
|
"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": 750.0,
|
|
"msg": "Expectation (%s): result %s %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/unittest/test.py",
|
|
"process": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1757.954081,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140549760135424,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"'specific callback for reaching state_a'",
|
|
"<class 'str'>"
|
|
],
|
|
"asctime": "2025-08-15 20:46:32,750",
|
|
"created": 1755283592.7503717,
|
|
"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": 750.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": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1758.09252,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140549760135424,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Submitted value number 4",
|
|
"'nonspecific callback'",
|
|
"<class 'str'>"
|
|
],
|
|
"asctime": "2025-08-15 20:46:32,750",
|
|
"created": 1755283592.750516,
|
|
"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": 750.0,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/unittest/test.py",
|
|
"process": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1758.236896,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140549760135424,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Submitted value number 4",
|
|
"=",
|
|
"'nonspecific callback'",
|
|
"<class 'str'>"
|
|
],
|
|
"asctime": "2025-08-15 20:46:32,750",
|
|
"created": 1755283592.7507188,
|
|
"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": 750.0,
|
|
"msg": "Expectation (%s): result %s %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/work/unittest_collection/state_machine/unittest/src/unittest/test.py",
|
|
"process": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1758.439755,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140549760135424,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"'nonspecific callback'",
|
|
"<class 'str'>"
|
|
],
|
|
"asctime": "2025-08-15 20:46:32,750",
|
|
"created": 1755283592.7508664,
|
|
"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": 750.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": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1758.587545,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140549760135424,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 751.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": 1138790,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1758.736605,
|
|
"stack_info": null,
|
|
"taskName": null,
|
|
"thread": 140549760135424,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.00014925003051757812
|
|
}
|
|
],
|
|
"thread": 140549760135424,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.003842592239379883,
|
|
"time_finished": "2025-08-15 20:46:32,751",
|
|
"time_start": "2025-08-15 20:46:32,747"
|
|
}
|
|
},
|
|
"testrun_id": "p3",
|
|
"time_consumption": 1.6750223636627197,
|
|
"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"
|
|
}
|
|
} |