Example #1
0
def test_queued_for_parent1():
    qc = QueueComms()
    qc.parent_queue.put("2")
    qc.parent_queue.get()
    assert qc.queued_for_parent() == False
Example #2
0
def test_queued_for_parent1():
    qc = QueueComms()
    qc.parent_queue.put("2")
    qc.parent_queue.get()
    assert (qc.queued_for_parent() == False)
Example #3
0
def test_queued_for_parent2():
    qc = QueueComms()
    qc.parent_queue.put("2")
    assert qc.queued_for_parent() == True
Example #4
0
def test_queued_for_parent2():
    qc = QueueComms()
    qc.parent_queue.put("2")
    assert (qc.queued_for_parent() == True)