Sorry, I didn't mean actually execcing gzip, just asserting that subprocess does/doesn't get run (like the tests previously did) is fine. I was saying that mocking out glob isn't necessary to control whether gzip gets run, and it's a better test if we don't.
Sorry, I didn't mean actually execcing gzip, just asserting that subprocess does/doesn't get run (like the tests previously did) is fine. I was saying that mocking out glob isn't necessary to control whether gzip gets run, and it's a better test if we don't.