Commit Graph

3 Commits

Author SHA1 Message Date
Daniel Markstedt
1b10b123d2 Refactor python code to address Sonarcloud issues (#900)
- copy/move/delete file class methods now take Path objects as arguments
- The file download endpoint in the Web UI uses the safer download from dir method
- Simplified logging
- Merged nested if statements
- Removed naked handling of unknown error states
- Added fallback empty list for drive_properties, to avoid errors when json file is missing or broken
- Move drive_properties to env[]
- Constants for common error messages
- Dummy variable for list comprehension
2022-10-09 13:50:20 -07:00
nucleogenic
75b0994b77 Add missing asserts to API tests 2022-09-26 00:00:20 +01:00
nucleogenic
a142af571d Improve organisation of tests 2022-09-26 00:00:20 +01:00