temporarily remove biomart test

This commit is contained in:
Jianbin He
2007-07-11 19:54:32 +00:00
parent 6e7bb8461f
commit aed988697f
+15 -15
View File
@@ -7,21 +7,21 @@ class UcscTests(TwillTestCase):
"""Clearing history"""
self.clear_history()
def test_Biomart_Uniprot(self):
"""Connection to Biomart"""
#All this test does, is check to see if biomart is accessible through Galaxy. A dataset is never retrieved or checked.
self.go2myurl('http://www.biomart.org/biomart/martview/b15f707b4956f926636a8d79b80b201f?do_export=1&resultsButton=1')
current_file = self.get_fname('temp_biomart_hs_mt.dat')
diff_file = self.get_fname('biomart_hs_mt.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( "Biomart changes:" + str( err ) )
#def test_Biomart_Uniprot(self):
# """Connection to Biomart"""
# #All this test does, is check to see if biomart is accessible through Galaxy. A dataset is never retrieved or checked.
# self.go2myurl('http://www.biomart.org/biomart/martview/b15f707b4956f926636a8d79b80b201f?do_export=1&resultsButton=1')
#
# current_file = self.get_fname('temp_biomart_hs_mt.dat')
# diff_file = self.get_fname('biomart_hs_mt.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( "Biomart changes:" + str( err ) )
# # some button indices are hardcoded (twill limitation)
# self.run_tool('biomart')