Exemple #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)
Exemple #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])
Exemple #3
0
def test_get_flir():
    with flir.session_scope() as session:
        return flir.Flir(session)
Exemple #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
Exemple #5
0
def test_create_session():
    with flir.session_scope() as session:
        return