def test_queued_for_parent1(): qc = QueueComms() qc.parent_queue.put("2") qc.parent_queue.get() assert qc.queued_for_parent() == False
def test_queued_for_parent1(): qc = QueueComms() qc.parent_queue.put("2") qc.parent_queue.get() assert (qc.queued_for_parent() == False)
def test_queued_for_parent2(): qc = QueueComms() qc.parent_queue.put("2") assert qc.queued_for_parent() == True
def test_queued_for_parent2(): qc = QueueComms() qc.parent_queue.put("2") assert (qc.queued_for_parent() == True)