mirror of
https://github.com/biopython/biopython.git
synced 2025-10-20 21:53:47 +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):
|
||||
"""Tests retrieving with bad server URL returns None."""
|
||||
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")
|
||||
self.assertIsNone(result)
|
||||
|
||||
|
Reference in New Issue
Block a user