@@ -0,0 +1,1024 @@
+import os%0Aimport sys%0Afrom subprocess import check_call as call%0A%0Aimport unittest%0A%0Asys.path.append( %22tests/selenium_tests/%22 )%0Afrom yeast_biodb_test import AbstractYeastBiodbTest%0A%0Aclass CompressedYeastBiodbTest( AbstractYeastBiodbTest, unittest.TestCase ):%0A    def setUp( self ):%0A        call( %22rm -rf sample_data/json/yeast/%22, shell=True )%0A        call( %22bin/prepare-refseqs.pl --compress --fasta sample_data/raw/yeast_scaffolds/chr1.fa.gz --fasta sample_data/raw/yeast_scaffolds/chr2.fa.gzip  --out sample_data/json/yeast/%22, shell=True )%0A        call( %22bin/biodb-to-json.pl --compress --conf sample_data/raw/yeast.json --out sample_data/json/yeast/%22, shell=True )%0A        call( %22bin/generate-names.pl --dir sample_data/json/yeast/%22, shell=True )%0A        super( AbstractYeastBiodbTest, self ).setUp()%0A%0A    def test_yeast( self ):%0A        if not 'JBROWSE_URL' in os.environ:%0A            raise Exception('must set JBROWSE_URL environment variable to run this test')%0A%0A        super( CompressedYeastBiodbTest, self ).test_yeast()%0A

add yeast test subclass that runs the same tests on compressed data