YACS-RCOS / yacs.n

YACS - with support for multi semester and partial semesters
MIT License
33 stars 33 forks source link

Auto updater #868

Open martig7 opened 7 months ago

martig7 commented 7 months ago

Issue

Closes Issue #860

Changes

Added a new file, post_test.py, which contains a function which makes an upload to our api. This requires the use of an environment variable named "yacs_url", which will just contain the first part of the url that the request is sent to. Additionally updated headless_login to be more consistent and updated parse_runner to work with the changes I made.

Testing

Run parse_runner.py. It should do a parse cycle and then print OK 200 when a file is uploaded.