Set DEFAULT_PLAYER to FOO (an ID that doesn't exist)
Expected
A usable player is chosen when FOO is not found, or at least an error that indicates the problem
Actual
A KeyError.
Traceback (most recent call last):
File "/var/task/handler.py", line 37, in lambda_handler
raise e
...
File "/var/task/squeezealexa/squeezebox/server.py", line 66, in init
print_d("Default player is now %s" % (self.players[pid],))
KeyError: 'FOO'
Extracted from #56:
Steps
Set
DEFAULT_PLAYER
to FOO (an ID that doesn't exist)Expected
Actual
KeyError
.