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)
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])
def test_get_flir(): with flir.session_scope() as session: return flir.Flir(session)
def test_file_list(): # test finding files with flir.session_scope() as session: flir_ = flir.Flir(session) assert len(flir_.dad_file_list) > 0
def test_create_session(): with flir.session_scope() as session: return