]> git.phdru.name Git - ppu.git/blobdiff - tests/test_rm.py
Refactor(tests): Exit with "name not found in PATH" in find_in_path
[ppu.git] / tests / test_rm.py
index f7550da394be47acfbc6cee5f61e6e335ab83c99..b9ad1b8b2a9ebeeba0cf124cb48c92c54d0e7d44 100755 (executable)
@@ -1,6 +1,5 @@
 #! /usr/bin/env python
 
-import os
 import subprocess
 import sys
 from ppu_tu import setup, teardown, find_in_path  # noqa
@@ -8,8 +7,6 @@ from ppu_tu import create_files, assert_files_exist, assert_files_not_exist
 
 
 test_prog_path = find_in_path('rm.py')
-if not test_prog_path:
-    sys.exit("Cannot find rm.py in %s" % os.environ["PATH"])
 
 
 def test_rm():