title: How to put into test real zip file and working on extracted files
body: <p>I have problem with mocking real zip package with files.
  Problem is that compute function needs data from files which are in zip file and I need to get data from them. For now I mocked files that I need, but these are only file names, so they are useless.</p>
  <p>Here is my code for testing compute function:</p>
  <pre><code>class TestCaseCompute(TestCase):
      MOCK_EXTRACTED_FILES = ['image.json', 'meta.json']
  
      @mock.patch('zipfile.ZipFile')
      @mock.patch('boto3.client')
      @mock.patch('requests.get')
      def test_entrypoint(self, mock_request, mock_boto, mock_zipfile):
          mock_request.return_value.json.return_value = algorithms
          mock_boto.return_value = mock_boto
          mock_zipfile.return_value.extractall.return_value = self.MOCK_EXTRACTED_FILES
          results = compute()
          print(results)
  </code></pre>