def test_id(self): msg = Message("SERIAL_OPEN", ("rx", "tx")) self.assert_equal("SERIAL_OPEN", msg.get_label())