예제 #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