Could you replace this with assertNotEqual and just use `alarm.is_alarm_active` rather than setting that to a variable that's only used once.