I\'ve just started using Coverage.py module and so decided to make a simple test to check how it works.
Sample.py
def sum(num1, num2
The below command worked for me:
coverage run --source=sample -m pytest test.py coverage report -m