X-Git-Url: https://wannabe.guru.org/gitweb/?a=blobdiff_plain;f=tests%2Frun_some_dependencies_test.py;h=a7ee9b459b0240dfa2b0cda2c7074e6c20adf97f;hb=19c9d04094b49b25826b875bf06e5e622f97e1d5;hp=fcc9e7a29341ca5db4e859cba6ec875ce600feb3;hpb=84b6592ce26c6716d7cce86caa70a27862c293a3;p=python_utils.git diff --git a/tests/run_some_dependencies_test.py b/tests/run_some_dependencies_test.py index fcc9e7a..a7ee9b4 100755 --- a/tests/run_some_dependencies_test.py +++ b/tests/run_some_dependencies_test.py @@ -1,5 +1,7 @@ #!/usr/bin/env python3 +# © Copyright 2021-2022, Scott Gasch + """This is a "test" that just runs a few system utilities that have dependencies on this library in "do nothing" mode and makes sure they exit cleanly. @@ -30,7 +32,7 @@ class RunSomeDependenciesTest(unittest.TestCase): ] for command in commands: try: - ret = exec_utils.cmd_with_timeout(command, 15.0) + ret = exec_utils.cmd_exitcode(command, 15.0) self.assertEqual(0, ret) except Exception as e: logger.exception(e)