def test_download(self):

        url = SourceURL('http://www.doe-mbi.ucla.edu/~leec/test.gz')
        url.__doc__ = 'test download'

        self.metabase.add_resource('Bio.Test.Download1', url)
        self.metabase.commit()

        # performs the download
        fpath = self.pygrData.Bio.Test.Download1()
        h = testutil.get_file_md5(fpath)
        self.assertEqual(h.hexdigest(), 'f95656496c5182d6cff9a56153c9db73')
        os.remove(fpath)
Downloading of gzipped file using metabase
dataset/ETHPy150Open cjlee112/pygr/tests/metabase_test.py/Download_Test.test_download