These changes are adding pytest infrastructure, converting some tests over into the correct format, as well as some small updates to make working with pytest easier in VSCode.
A problem this has identified is that the file upload isn't properly deleting the file if the metadata extraction isn't finished correctly. So I made an issue here: #523
Closes #506, closes #505, and related to seedcase-project/.github#165
Reviewer Focus
This PR needs a bit of an in-depth review. Mostly adding infrastructure to allow us to use pytest.
Unfortunately, the build fails because of an issue with deleting a file during 'upload', which I already created an issue about early. Not sure why unittest didn't pick up this issue earlier...
Description
These changes are adding pytest infrastructure, converting some tests over into the correct format, as well as some small updates to make working with pytest easier in VSCode.
A problem this has identified is that the file upload isn't properly deleting the file if the metadata extraction isn't finished correctly. So I made an issue here: #523
Closes #506, closes #505, and related to seedcase-project/.github#165
Reviewer Focus
This PR needs a bit of an in-depth review. Mostly adding infrastructure to allow us to use pytest.
Unfortunately, the build fails because of an issue with deleting a file during 'upload', which I already created an issue about early. Not sure why unittest didn't pick up this issue earlier...
Checklist