def test_tmgr_base_methods(): credentials = pika.PlainCredentials(username, password) rmq_conn_params = pika.ConnectionParameters(host=hostname, port=port, credentials=credentials) sid = 'test.0009' rmgr = BaseRmgr({}, sid, None, {}) tmgr = BaseTmgr(sid=sid, pending_queue=['pending-1'], completed_queue=['completed-1'], rmgr=rmgr, rmq_conn_params=rmq_conn_params, rts=None) with pytest.raises(NotImplementedError): tmgr._tmgr(uid=None, rmgr=None, rmq_conn_params=None, pending_queue=None, completed_queue=None) with pytest.raises(NotImplementedError): tmgr.start_manager()
def test_tmgr_base_methods(): sid = 'test.0009' rmgr = BaseRmgr({}, sid, None, {}) tmgr = BaseTmgr(sid=sid, pending_queue=['pending-1'], completed_queue=['completed-1'], rmgr=rmgr, mq_hostname=hostname, port=port, rts=None) with pytest.raises(NotImplementedError): tmgr._tmgr(uid=None, rmgr=None, mq_hostname=None, port=None, pending_queue=None, completed_queue=None) with pytest.raises(NotImplementedError): tmgr.start_manager()
def test_tmgr_base_methods(): sid = 'test.0000' rmgr = BaseRmgr({}, sid, None, {}) tmgr = BaseTmgr(sid=sid, pending_queue=['pending-1'], completed_queue=['completed-1'], rmgr=rmgr, mq_hostname=hostname, port=port, rts=None) with pytest.raises(NotImplementedError): tmgr._tmgr(uid=None, rmgr=None, logger=None, mq_hostname=None, port=None, pending_queue=None, completed_queue=None) with pytest.raises(NotImplementedError): tmgr.start_manager()