def test_zero_ttl(self):
        queue = self.queues_manager.get_queue("testqueue")

        # disconnected
        queue.push(Message(b"data a", uuid=b"a", ttl=0))
        self.assertEqual(len(queue), 0)

        queue.connect()
        queue.push(Message(b"data a", uuid=b"a", ttl=0))
        self.assertEqual(len(queue), 1)

    ##################################################################
Delete a function
dataset/ETHPy150Open dsiroky/snakemq/tests/unittests/tests_queues.py/TestQueue.test_zero_ttl--crossover with--dataset/ETHPy150Open EiNSTeiN-/idapython/python/idc.py/DelFunction