Done state is set in green procedure and not implemented by state machine
2019-07-08 20:45:31,347 Error during timer processing
Traceback (most recent call last):
File "/auction/prozorro_sale/auction/chronograph.py", line 39, in chronograph_loop
auction.timer_tick()
File "/auction/prozorro_sale/auction/state_machine.py", line 72, in timer_tick
self._auction.set_state(next_state)
File "/auction/prozorro_sale/auction/state_machine.py", line 165, in set_state
state_new = self._load_state(state)
File "/auction/prozorro_sale/auction/state_machine.py", line 174, in _load_state
state_type = REGISTERED_STATES[state]
KeyError: 'done'
We need to implement Done state + provide method that checks that all requested states are available during Auction creation to provide protection from typos and other errors in state_machine specs