Closed thedrow closed 3 years ago
If we set a nested state's initial value to an enum it doesn't get resolved and raises a KeyError instead. I'm not sure which test case reproduces this directly though so I'd appriciate if you can write a unit test for this.
Travis is unfortunately overloaded (again) but the change looks good to me. Thanks!
How can we write a test for this? It only reproduces with deeply nested states as far as I can see.
I assume that something like this can be rewritten to use Enums instead.
Enum
If we set a nested state's initial value to an enum it doesn't get resolved and raises a KeyError instead. I'm not sure which test case reproduces this directly though so I'd appriciate if you can write a unit test for this.