otime/test_files/sc3_23/sc3_test.py

16 lines
448 B
Python
Raw Normal View History

2023-11-02 21:57:28 +00:00
import sys
sys.path.insert(0, '../../otime')
import otime
2023-11-06 14:15:04 +00:00
import pdf
2023-11-02 21:57:28 +00:00
def main():
event = otime.Event(0, 'TEEEST', start_time=None, end_time=None,organiser='Tygbe')
event.read_ttime_cnf('tt.cnf')
event.read_ttime_db('db.csv')
event.read_mtr_file('mtr.csv')
pdf.create_split_result_list(event, 'output/result.pdf')
2023-11-06 14:15:04 +00:00
print(event.get_runner_status('1400'))
results = event.get_result()
2023-11-02 21:57:28 +00:00
if __name__ == '__main__':
main()