def test_state_final_for_target_state_shutdown(self): self.assertEqual(state_final('shutdown'), 'powered-off')
def test_state_final_for_target_state_powered_off(self): self.assertEqual(state_final('powered-off'), 'powered-off')
def test_state_final_for_target_state_reset(self): self.assertEqual(state_final('reset'), 'powered-on')