aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tests/utilities_tests.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/utilities_tests.py b/tests/utilities_tests.py
index f1b60e2b..8e1514b0 100644
--- a/tests/utilities_tests.py
+++ b/tests/utilities_tests.py
@@ -50,8 +50,7 @@ class ExecutableTest(unittest.TestCase):
self.assertFalse(is_executable(path))
def test_exe_file(self):
- path = os.path.join(TEST_DIR, 'test_exe.py')
- self.assertTrue(is_executable(path))
+ self.assertTrue(is_executable('true'))
def test_exe_file_abs_path(self):
self.assertTrue(is_executable("/usr/bin/timeout"))