The files test_nicks.csv and nicks.csv are overwritten during test execution. Proper unittests should not modify the user's environment. Would recommend using something like tempfile [1] to create temporary files for testing.
Steps to reproduce:
touch nicks.csv
modify test_nicks.csv
python -m unittest test_bot
test_nicks.csv and nicks.csv is overwritten with test data
The files test_nicks.csv and nicks.csv are overwritten during test execution. Proper unittests should not modify the user's environment. Would recommend using something like tempfile [1] to create temporary files for testing.
Steps to reproduce:
[1] https://docs.python.org/2/library/tempfile.html