Spotify: alarms like every other key, any day (Sunday window is only for auto-fix)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -115,7 +115,7 @@ class TestChecks(unittest.TestCase):
|
||||
self.assertEqual(msg().level, sp.OK) # not read yet
|
||||
s.spotify = {"running": False}
|
||||
self.assertEqual(msg().msg, "SPOTIFY CLOSED")
|
||||
self.assertEqual(msg({"now": WEDNESDAY}).level, sp.OFF) # grey, not an alarm, outside services
|
||||
self.assertEqual(msg({"now": WEDNESDAY}).msg, "SPOTIFY CLOSED") # alarms like every other key, any day
|
||||
s.spotify = {"running": True, "state": "paused", "track": "spotify:track:a"}
|
||||
self.assertEqual(msg().msg, "NOT PLAYING")
|
||||
s.spotify["state"] = "playing"
|
||||
|
||||
Reference in New Issue
Block a user