示例#1
0
def test_record_load():
    with flir.session_scope() as session:
        flir_ = flir.Flir(session)
        assert len(flir_.record_file_list) > 0
        pos = random.randint(0, len(flir_.record_file_list) - 1)
        return flir.Record(flir_.record_file_list[pos], True)
示例#2
0
def test_create_flight():
    with flir.session_scope() as session:
        flir_ = flir.Flir(session)
        assert len(flir_.dad_file_list) > 0
        pos = random.randint(0, len(flir_.dad_file_list) - 1)
        return flir.Flight(flir_.dad_file_list[pos])
示例#3
0
def test_get_flir():
    with flir.session_scope() as session:
        return flir.Flir(session)
示例#4
0
def test_file_list():
    # test finding files
    with flir.session_scope() as session:
        flir_ = flir.Flir(session)
        assert len(flir_.dad_file_list) > 0
示例#5
0
def test_create_session():
    with flir.session_scope() as session:
        return