Steps to reproduce:
- Make sure there is nothing to commit
- Edit user-config.py
- Set mylang to test
- Set family to wikidata
- Run python -m unittest tests.api_tests.TestCachedRequest
- Get git status:
$ git status On branch master Untracked files: (use "git add <file>..." to include in what will be committed) tests/cassettes/wikidata.test/TestCachedRequest.test_normal_use.yaml nothing added to commit but untracked files present (use "git add" to track)
Running a dry test has added a new undesired file. It's annoying to have these files created every time the developer runs the tests. It could be committed accidentally if they use git add -A. Note that .yaml files may contain private information which leads to security/privacy risks for the developer.
Running VCR tests should not have the side effect of creating new cassettes (except when we developer is adding new tests of-course).
Maybe we should not have VCR tests configured for DefaultSiteTestCase?