aboutsummaryrefslogtreecommitdiff
path: root/plip/test/test_command_line.py
diff options
context:
space:
mode:
Diffstat (limited to 'plip/test/test_command_line.py')
-rw-r--r--plip/test/test_command_line.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/plip/test/test_command_line.py b/plip/test/test_command_line.py
index 5d8e8e5..d3ab332 100644
--- a/plip/test/test_command_line.py
+++ b/plip/test/test_command_line.py
@@ -46,3 +46,9 @@ class CommandLineTest(unittest.TestCase):
shell=True)
self.assertEqual(len(os.listdir(self.tmp_dir.name)), 2)
self.assertEqual(exitcode, 0)
+
+ def test_stdout(self):
+ """A PDB ID with no valid PDB record is provided."""
+ exitcode = subprocess.call(f'{sys.executable} ../plipcmd.py -t -f ./pdb/1eve.pdb -O', shell=True)
+ self.assertEqual(exitcode, 0)
+