예제 #1
0
def test_get_from_parent2():
    qc = QueueComms()
    assert qc.get_from_parent() == None
예제 #2
0
def test_get_from_parent2():
    qc = QueueComms()
    assert (qc.get_from_parent() == None)
예제 #3
0
def test_get_from_parent1():
    qc = QueueComms()
    qc.parent_queue.put("2")
    assert qc.get_from_parent() == "2"
예제 #4
0
def test_get_from_parent1():
    qc = QueueComms()
    qc.parent_queue.put("2")
    assert (qc.get_from_parent() == "2")