These changes fix failing tests by updating the way we check whether tests are running. This became out of date after switching to pytest. As a result, sample data was loaded into the test database, so tests checking if the Files table was empty were failing.
I've also added an extra test debug config allowing us to set breakpoints etc. in external files (e.g. library files or Django core code) -- feel free to ignore/change this.
Description
These changes fix failing tests by updating the way we check whether tests are running. This became out of date after switching to pytest. As a result, sample data was loaded into the test database, so tests checking if the
Files
table was empty were failing.I've also added an extra test debug config allowing us to set breakpoints etc. in external files (e.g. library files or Django core code) -- feel free to ignore/change this.
Closes #523
Reviewer Focus
This PR needs a quick review.
Checklist