def test_zero_on_off_toggle(self): phd_relay = Relay() result = phd_relay.zero_off() self.assertTrue(result, "Successfully turned off") result = phd_relay.zero_on() self.assertTrue(result, "Successfully turned off") result = phd_relay.zero_toggle() self.assertTrue(result, "Successfully toggled")