def testRemoveHeartbeat(self):
        def sleeplet():
            try:
                gevent.sleep(1000)
            except utils.BPGreenletExit:
                pass
        hb = utils.spawn_heartbeat("Does not matter", self.test_socket_greenlet)
        hb.join(timeout=.5)
        self.failIf(not hb.successful(), "Heartbeat did not exit!")
Tests heartbeat removal list
dataset/ETHPy150Open metafetish/buttplug/tests/test.py/HeartbeatTests.testRemoveHeartbeat