I did a complete overhaul of all of our unit tests. Before, we were hardcoding every test to use our personal repositories and files. Now, we use Python library tempfile and context managers to create temporary directories and files. These directories/files should be cleaned up automatically after tests are run.
I did a complete overhaul of all of our unit tests. Before, we were hardcoding every test to use our personal repositories and files. Now, we use Python library tempfile and context managers to create temporary directories and files. These directories/files should be cleaned up automatically after tests are run.