Pytest cov does not generate any report
<p>I'm trying to run a py.test cov for my program, but I still have an information: <code>testFile.txt sCoverage.py warning: No data was collected.</code>
even when in the code are still non-tested functions (in my example function diff). Below is the example of the code on which I tested the command <code>py.test --cov=testcov.py</code>. I'm using <code>python 2.7.9</code> </p>

<pre><code>def suma(x,y):
    z = x + y
    return z

def diff(x,y):
    return x-y

if __name__ == "__main__":
    a = suma(2,3)
    b = diff(7,5)
    print a
    print b

## ------------------------TESTS-----------------------------   
import pytest

def testSuma():
    assert suma(2,3) == 5
</code></pre>

<p>Can someone explain me, what am I doing wrong?</p>