Volkswagen detects when your tests are being run in a CI server, and makes them pass.
pip install volkswagen
Just import volkswagen somewhere in your code-base — maybe in your main test file:
import volkswagen
CI servers detected:
- Travis CI
- Jenkins CI
- Gitlab CI
- any CI server that exposes a
CI
orCONTINUOUS_INTEGRATION
environment variable
Test suites defeated:
- unittest
- pytest
- nose
Heavily inspired by https://github.com/auchenberg/volkswagen