From bc9b30ddf92eabeee0ce6f601930ff1a6b89df9b Mon Sep 17 00:00:00 2001 From: Jianbin He Date: Mon, 12 Mar 2007 20:13:40 +0000 Subject: [PATCH] remove 'ucsc first page diff' because this page changes everytime. --- test/functional/test_datasource_tools.py | 44 ++++++++++++------------ 1 file changed, 22 insertions(+), 22 deletions(-) diff --git a/test/functional/test_datasource_tools.py b/test/functional/test_datasource_tools.py index 97cfb8de7af..f8a5e2fa46e 100644 --- a/test/functional/test_datasource_tools.py +++ b/test/functional/test_datasource_tools.py @@ -33,28 +33,28 @@ class UcscTests(TwillTestCase): # # #self.check_data('biomart_uniprot.dat') - def test_UCSC_interface(self): - """Diffing first page of UCSC proxy.""" - # hgsid needs to be set or else we get a different one every time. - self.go2myurl("http://www.genome.ucsc.edu/cgi-bin/hgTables?org=Human&db=hg18&hgsid=84962660&hgta_doMainPage=1") - current_file = self.get_fname('new_ucsc_proxy_page.dat') - diff_file = self.get_fname('ucsc_proxy_page.dat') - - currentpage = self.last_page() - file(current_file, 'wb').write(currentpage) - - try: - self.diff( current_file, diff_file ) - except AssertionError, err: - raise AssertionError( "UCSC Page has changed:\n" + str( err ) ) - - # Note that execution will not reach this if there is an - # error. This is intended so that the new ucsc page will be - # stored and can be easily checked by hand and updated. - os.remove( current_file ) - - def test_UCSC_bed(self): - """Getting bed files from UCSC""" + # def test_UCSC_interface(self): + # """Diffing first page of UCSC proxy.""" + # # hgsid needs to be set or else we get a different one every time. + # self.go2myurl("http://www.genome.ucsc.edu/cgi-bin/hgTables?org=Human&db=hg18&hgsid=84962660&hgta_doMainPage=1") + # current_file = self.get_fname('new_ucsc_proxy_page.dat') + # diff_file = self.get_fname('ucsc_proxy_page.dat') + # + # currentpage = self.last_page() + # file(current_file, 'wb').write(currentpage) + # + # try: + # self.diff( current_file, diff_file ) + # os.remove( current_file ) + # except AssertionError, err: + # raise AssertionError( "UCSC Page has changed:\n" + str( err ) ) + # + # # Note that execution will not reach this if there is an + # # error. This is intended so that the new ucsc page will be + # # stored and can be easily checked by hand and updated. + + def test_UCSC_bed(self): + """Getting bed files from UCSC""" self.clear_history()