-
-
Notifications
You must be signed in to change notification settings - Fork 89
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: New SCXML fail mark with the contents of the errors
- Loading branch information
Showing
217 changed files
with
4,111 additions
and
36 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
# Testcase: test190 | ||
|
||
AssertionError: Assertion failed. | ||
|
||
Final configuration: `['fail']` | ||
|
||
--- | ||
|
||
## Logs | ||
```py | ||
DEBUG statemachine.engines.base:base.py:374 States to enter: {S0} | ||
DEBUG statemachine.io.scxml.actions:actions.py:443 Error executing actions | ||
Traceback (most recent call last): | ||
File "/home/macedo/projects/python-statemachine/statemachine/io/scxml/actions.py", line 441, in datamodel | ||
act(machine=machine) | ||
~~~^^^^^^^^^^^^^^^^^ | ||
File "/home/macedo/projects/python-statemachine/statemachine/io/scxml/actions.py", line 412, in data_initializer | ||
value = _eval(action.expr, **kwargs) | ||
File "/home/macedo/projects/python-statemachine/statemachine/io/scxml/actions.py", line 125, in _eval | ||
return eval(expr, {}, kwargs) | ||
File "<string>", line 1, in <module> | ||
import sys;exec(eval(sys.stdin.readline())) | ||
^^^^^^^^^^ | ||
NameError: name '_sessionid' is not defined | ||
DEBUG statemachine.io.scxml.actions:actions.py:467 Error executing actions | ||
Traceback (most recent call last): | ||
File "/home/macedo/projects/python-statemachine/statemachine/io/scxml/actions.py", line 463, in __call__ | ||
action(*args, **kwargs) | ||
~~~~~~^^^^^^^^^^^^^^^^^ | ||
File "/home/macedo/projects/python-statemachine/statemachine/io/scxml/actions.py", line 231, in __call__ | ||
value = _eval(self.action.expr, **kwargs) | ||
File "/home/macedo/projects/python-statemachine/statemachine/io/scxml/actions.py", line 125, in _eval | ||
return eval(expr, {}, kwargs) | ||
File "<string>", line 1, in <module> | ||
import sys;exec(eval(sys.stdin.readline())) | ||
^^^^^^^^^^^ | ||
TypeError: can only concatenate str (not "NoneType") to str | ||
DEBUG statemachine.engines.sync:sync.py:64 Processing loop started: s0 | ||
DEBUG statemachine.engines.sync:sync.py:89 Eventless/internal queue: {transition * from S0 to Fail} | ||
DEBUG statemachine.engines.base:base.py:283 States to exit: {S0} | ||
DEBUG statemachine.engines.base:base.py:374 States to enter: {Fail} | ||
|
||
``` | ||
|
||
## "On transition" events | ||
```py | ||
DebugEvent(source='s0', event='error.execution', data='{\'event_id\': None, \'error\': NameError("name \'_sessionid\' is not defined")}', target='fail') | ||
``` | ||
|
||
## Traceback | ||
```py | ||
Assertion of the testcase failed. | ||
``` |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
# Testcase: test191 | ||
|
||
AssertionError: Assertion failed. | ||
|
||
Final configuration: `['fail']` | ||
|
||
--- | ||
|
||
## Logs | ||
```py | ||
DEBUG statemachine.engines.base:base.py:374 States to enter: {S0} | ||
DEBUG statemachine.engines.sync:sync.py:64 Processing loop started: s0 | ||
DEBUG statemachine.engines.sync:sync.py:116 External event: TriggerData(machine=<weakproxy at 0x7f3c5f166b10; to 'statemachine.io.test191' at 0x7f3c5f17c1a0>, event=Event('timeout', delay=2000.0, internal=False), send_id='d96644f8d15f49b2bd7440c62b61dd38', _target=None, execution_time=1733943931.664144, model=Model(state=s0), args=(), kwargs={}) | ||
DEBUG statemachine.engines.sync:sync.py:131 Enabled transitions: {transition * from S0 to Fail} | ||
DEBUG statemachine.engines.base:base.py:283 States to exit: {S0} | ||
DEBUG statemachine.engines.base:base.py:374 States to enter: {Fail} | ||
|
||
``` | ||
|
||
## "On transition" events | ||
```py | ||
DebugEvent(source='s0', event='timeout', data='{}', target='fail') | ||
``` | ||
|
||
## Traceback | ||
```py | ||
Assertion of the testcase failed. | ||
``` |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
# Testcase: test192 | ||
|
||
AssertionError: Assertion failed. | ||
|
||
Final configuration: `['fail']` | ||
|
||
--- | ||
|
||
## Logs | ||
```py | ||
DEBUG statemachine.engines.base:base.py:374 States to enter: {S0, S01} | ||
DEBUG statemachine.engines.sync:sync.py:64 Processing loop started: ['s0', 's01'] | ||
DEBUG statemachine.engines.sync:sync.py:116 External event: TriggerData(machine=<weakproxy at 0x7fd4c5346ca0; to 'statemachine.io.test192' at 0x7fd4c5429400>, event=Event('timeout', delay=2000.0, internal=False), send_id='a3f00d7e247a45d4bffc85ffc3540742', _target=None, execution_time=1733943932.6457262, model=Model(state=['s0', 's01']), args=(), kwargs={}) | ||
DEBUG statemachine.engines.sync:sync.py:131 Enabled transitions: {transition timeout from S0 to Fail} | ||
DEBUG statemachine.engines.base:base.py:283 States to exit: {S0, S01} | ||
DEBUG statemachine.engines.base:base.py:374 States to enter: {Fail} | ||
|
||
``` | ||
|
||
## "On transition" events | ||
```py | ||
DebugEvent(source='s0', event='timeout', data='{}', target='fail') | ||
``` | ||
|
||
## Traceback | ||
```py | ||
Assertion of the testcase failed. | ||
``` |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
# Testcase: test207 | ||
|
||
AssertionError: Assertion failed. | ||
|
||
Final configuration: `No configuration` | ||
|
||
--- | ||
|
||
## Logs | ||
```py | ||
DEBUG statemachine.engines.base:base.py:374 States to enter: {S0, S01} | ||
DEBUG statemachine.engines.sync:sync.py:64 Processing loop started: ['s0', 's01'] | ||
DEBUG statemachine.engines.sync:sync.py:116 External event: TriggerData(machine=<weakproxy at 0x7efc22ac3d30; to 'statemachine.io.test207' at 0x7efc22b08590>, event=Event('timeout', delay=2000.0, internal=False), send_id='c56c759204124df98a1d96e2678a307a', _target=None, execution_time=1733943926.5340483, model=Model(state=['s0', 's01']), args=(), kwargs={}) | ||
DEBUG statemachine.engines.sync:sync.py:131 Enabled transitions: {transition timeout from S0 to } | ||
DEBUG statemachine.engines.base:base.py:283 States to exit: {S0, S01} | ||
DEBUG statemachine.engines.base:base.py:374 States to enter: {} | ||
|
||
``` | ||
|
||
## "On transition" events | ||
```py | ||
DebugEvent(source='s0', event='timeout', data='{}', target='') | ||
``` | ||
|
||
## Traceback | ||
```py | ||
Assertion of the testcase failed. | ||
``` |
File renamed without changes.
Oops, something went wrong.