RASCSI/python/web/tests/api
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
..
conftest.py Display a warning when Pytest fixtures fail to delete a file 2022-09-27 15:39:58 +01:00
test_auth.py Refactor python code to address Sonarcloud issues (#900) 2022-10-09 13:50:20 -07:00
test_devices.py Improve the logic and data structure for SCSI ID management in Web UI (#893) 2022-10-06 10:00:57 -07:00
test_files.py Refactor python code to address Sonarcloud issues (#900) 2022-10-09 13:50:20 -07:00
test_misc.py Refactor python code to address Sonarcloud issues (#900) 2022-10-09 13:50:20 -07:00
test_settings.py Introduce info.html template and use it to render detailed info (#863) 2022-09-26 17:44:41 -07:00