mirror of
https://github.com/biopython/biopython.git
synced 2025-10-21 06:16:31 +08:00
change url in test
This commit is contained in:
@ -169,7 +169,7 @@ class TestPDBListGetStructure(unittest.TestCase):
|
|||||||
def test_retrieve_pdb_file_bad_url(self):
|
def test_retrieve_pdb_file_bad_url(self):
|
||||||
"""Tests retrieving with bad server URL returns None."""
|
"""Tests retrieving with bad server URL returns None."""
|
||||||
with self.make_temp_directory(os.getcwd()) as tmp:
|
with self.make_temp_directory(os.getcwd()) as tmp:
|
||||||
pdblist = PDBList(server="http://invalid.server", pdb=tmp)
|
pdblist = PDBList(server=" http://something.wrong ", pdb=tmp)
|
||||||
result = pdblist.retrieve_pdb_file("127d", file_format="pdb")
|
result = pdblist.retrieve_pdb_file("127d", file_format="pdb")
|
||||||
self.assertIsNone(result)
|
self.assertIsNone(result)
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user