Пример #1
0
def test_file_attr_subscription(endpoint, evt_man):
    id = evt_man.subscribeFileAttr('fileUuid', 1, 10, 2, 5)
    assert id < 0

    msg = events.createFileAttrSubscriptionMsg(id, 'fileUuid', 2, 5, 0)
    endpoint.wait_for_specific_messages(msg)