예제 #1
0
def test_dets_filter_no_kick(ami_det):
    logger.debug('test_dets_filter_no_kick')
    dets_filter('name', 0, 1, or_bykik=False)
예제 #2
0
def test_dets_filter_default_arg(ami_det):
    logger.debug('test_dets_filter_default_arg')
    with pytest.raises(RuntimeError):
        dets_filter(0, 1)
    set_monitor_det(ami_det)
    assert ami_det.prefix in dets_filter(0, 1)