From 9dadfdb3332b073aaff508d126e90200ad09868d Mon Sep 17 00:00:00 2001 From: Navan Chauhan Date: Fri, 11 Sep 2020 16:18:38 +0530 Subject: removed downloaded plip --- plip/test/test_remote_services.py | 29 ----------------------------- 1 file changed, 29 deletions(-) delete mode 100644 plip/test/test_remote_services.py (limited to 'plip/test/test_remote_services.py') diff --git a/plip/test/test_remote_services.py b/plip/test/test_remote_services.py deleted file mode 100644 index d52bffc..0000000 --- a/plip/test/test_remote_services.py +++ /dev/null @@ -1,29 +0,0 @@ -# coding=utf-8 -""" -Protein-Ligand Interaction Profiler - Analyze and visualize protein-ligand interactions in PDB files. -test_remote_services.py - Unit Tests for remote services. -""" - - -import unittest -from plip.exchange.webservices import check_pdb_status - - -class TestPDB(unittest.TestCase): - """Test PDB Web Service methods""" - - def test_pdb_entry_status(self): - # 1a0v is an obsolete entry and is replaced by 1y46 - status, current_pdbid = check_pdb_status('1a0v') - self.assertEqual(status, 'OBSOLETE') - self.assertEqual(current_pdbid, '1y46') - - # 1vsn is an current entry - status, current_pdbid = check_pdb_status('1vsn') - self.assertEqual(status, 'CURRENT') - self.assertEqual(current_pdbid, '1vsn') - - # xxxx is not an PDB entry - status, current_pdbid = check_pdb_status('xxxx') - self.assertEqual(status, 'UNKNOWN') - self.assertEqual(current_pdbid, 'xxxx') -- cgit v1.2.3