def testFailHeartbeat(self):
        def no_ping(msg):
            pass
        self.test_socket.inmsg["BPPing"] = no_ping
        self.failIf(self.trigger.wait(timeout=.5), "Did not close before timeout!")
Tests heartbeat failure
dataset/ETHPy150Open metafetish/buttplug/tests/test.py/HeartbeatTests.testFailHeartbeat