I got a python script which takes command line arguments, working with some files. I\'m writing succeeding tests with py.test putting this script through its pa
py.test
according to this blog: https://thomas-cokelaer.info/blog/2017/01/pytest-cov-collects-no-data-on-travis/
You should add all the __init__.py files in tests folder! This solution works for me.
__init__.py
tests