title: Is PyTest supposed to run all code or just the function being tested?
body: <p>I'm writing a python script and am using PyTest to test it. So far I have written one test for one function within the script (it's a mess so I didn't post it). I was under the impression PyTest would only run the function that is being tested. However, when running PyTest all the code in the script is being executed. Is this intended?</p>