Skip to content

fix: Fix some edge cases of initial state configuration

Codecov / codecov/patch failed Dec 23, 2024 in 1s

92.76% of diff hit (target 100.00%)

View this Pull Request on Codecov

92.76% of diff hit (target 100.00%)

Annotations

Check warning on line 47 in statemachine/contrib/diagram.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

statemachine/contrib/diagram.py#L47

Added line #L47 was not covered by tests

Check warning on line 50 in statemachine/contrib/diagram.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

statemachine/contrib/diagram.py#L49-L50

Added lines #L49 - L50 were not covered by tests

Check warning on line 56 in statemachine/contrib/diagram.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

statemachine/contrib/diagram.py#L56

Added line #L56 was not covered by tests

Check warning on line 75 in statemachine/contrib/diagram.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

statemachine/contrib/diagram.py#L75

Added line #L75 was not covered by tests

Check warning on line 160 in statemachine/contrib/diagram.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

statemachine/contrib/diagram.py#L160

Added line #L160 was not covered by tests

Check warning on line 162 in statemachine/contrib/diagram.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

statemachine/contrib/diagram.py#L162

Added line #L162 was not covered by tests

Check warning on line 210 in statemachine/contrib/diagram.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

statemachine/contrib/diagram.py#L208-L210

Added lines #L208 - L210 were not covered by tests

Check warning on line 54 in statemachine/engines/async_.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

statemachine/engines/async_.py#L52-L54

Added lines #L52 - L54 were not covered by tests

Check warning on line 150 in statemachine/engines/base.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

statemachine/engines/base.py#L150

Added line #L150 was not covered by tests

Check warning on line 154 in statemachine/engines/base.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

statemachine/engines/base.py#L153-L154

Added lines #L153 - L154 were not covered by tests

Check warning on line 159 in statemachine/engines/base.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

statemachine/engines/base.py#L159

Added line #L159 was not covered by tests

Check warning on line 431 in statemachine/engines/base.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

statemachine/engines/base.py#L431

Added line #L431 was not covered by tests

Check warning on line 483 in statemachine/engines/base.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

statemachine/engines/base.py#L483

Added line #L483 was not covered by tests

Check warning on line 676 in statemachine/engines/base.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

statemachine/engines/base.py#L676

Added line #L676 was not covered by tests

Check warning on line 678 in statemachine/engines/base.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

statemachine/engines/base.py#L678

Added line #L678 was not covered by tests

Check warning on line 102 in statemachine/engines/sync.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

statemachine/engines/sync.py#L101-L102

Added lines #L101 - L102 were not covered by tests

Check warning on line 104 in statemachine/engines/sync.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

statemachine/engines/sync.py#L104

Added line #L104 was not covered by tests

Check warning on line 180 in statemachine/event.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

statemachine/event.py#L180

Added line #L180 was not covered by tests

Check warning on line 39 in statemachine/events.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

statemachine/events.py#L39

Added line #L39 was not covered by tests

Check warning on line 78 in statemachine/factory.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

statemachine/factory.py#L78

Added line #L78 was not covered by tests

Check warning on line 71 in statemachine/io/scxml/actions.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

statemachine/io/scxml/actions.py#L68-L71

Added lines #L68 - L71 were not covered by tests

Check warning on line 76 in statemachine/io/scxml/actions.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

statemachine/io/scxml/actions.py#L75-L76

Added lines #L75 - L76 were not covered by tests

Check warning on line 81 in statemachine/io/scxml/actions.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

statemachine/io/scxml/actions.py#L80-L81

Added lines #L80 - L81 were not covered by tests

Check warning on line 234 in statemachine/io/scxml/actions.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

statemachine/io/scxml/actions.py#L234

Added line #L234 was not covered by tests

Check warning on line 306 in statemachine/io/scxml/actions.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

statemachine/io/scxml/actions.py#L305-L306

Added lines #L305 - L306 were not covered by tests