Back to index

python-biopython  1.60
test_SCOP_online.py
Go to the documentation of this file.
00001 # Copyright 2010 by Peter Cock.  All rights reserved.
00002 # This code is part of the Biopython distribution and governed by its
00003 # license.  Please see the LICENSE file that should have been included
00004 # as part of this package.
00005 
00006 """Testing online code in Bio.SCOP
00007 """
00008 
00009 import unittest
00010 
00011 import requires_internet
00012 requires_internet.check()
00013 
00014 from Bio import SCOP
00015 
00016 class ScopSearch(unittest.TestCase):
00017     """SCOP search tests."""
00018     def test_search(self):
00019         """Bio.SCOP.search(...)"""
00020         handle = SCOP.search("1JOY")
00021 
00022 if __name__ == "__main__":
00023     runner = unittest.TextTestRunner(verbosity = 2)
00024     unittest.main(testRunner=runner)