I'm using module pytest to do testing
Problem: When i run the pytest, it works fine, but how do i stop it from calling a function within the function i'm testing
e.g.
def download_csv(self):
# code here will download csv
# I want to test code up until here and dont run the decompress_csv() function
self.decompress_csv()
# assume this function is in a separate test file
def test_download_csv():
assert download_csv() == # i will check if it downloaded