Esempio n. 1
0
def test_ipcrm_queues():
    r"""Test removal of ipc queues."""
    IPCComm.ipcrm_queues()
    assert (len(IPCComm.ipc_queues()) == 0)
    mq = IPCComm.get_queue()
    assert (len(IPCComm.ipc_queues()) == 1)
    IPCComm.ipcrm_queues(str(mq.key))
    assert (len(IPCComm.ipc_queues()) == 0)
Esempio n. 2
0
def test_ipcrm_queues_not_isntalled():  # pragma: windows
    r"""Test ipcrm_queues if IPC library is not installed."""
    IPCComm.ipcrm_queues()