No, the tests should be versioned. But the project had no .gitignore, and I did not want to version login/password, so I put tests/credentials.py in .gitignore.