def test_MoStatus_onBit(self, init, onBits, onBitsExpected): status = MoStatus(init) status.onBit(onBits) assert str(status) == onBitsExpected