X-Git-Url: https://wannabe.guru.org/gitweb/?a=blobdiff_plain;f=tests%2Frun_some_dependencies_test.py;h=fcc9e7a29341ca5db4e859cba6ec875ce600feb3;hb=d2e437a04124fa3c6e3175205f943769ba443393;hp=ebe61c0029b8b4779317ce2874311b97ea969395;hpb=3c05841f04d89409bb7bef6e6f8641c4ec31b803;p=python_utils.git diff --git a/tests/run_some_dependencies_test.py b/tests/run_some_dependencies_test.py index ebe61c0..fcc9e7a 100755 --- a/tests/run_some_dependencies_test.py +++ b/tests/run_some_dependencies_test.py @@ -8,7 +8,6 @@ exit cleanly. import logging import unittest -from typing import Optional import bootstrap import exec_utils @@ -27,10 +26,11 @@ class RunSomeDependenciesTest(unittest.TestCase): "/home/scott/bin/unscramble.py ethyropadratoyzrhoiectmi --trace_memory >& /dev/null", "/home/scott/bin/cron.py --command='sleep 0' --lockfile=/tmp/deleteme_lock >& /dev/null", "/home/scott/cron/manage_switch_off_timers.py >& /dev/null", + "/home/scott/bin/smart_device.py cabin and outside and timeout:* -c print >& /dev/null", ] for command in commands: try: - ret = exec_utils.cmd_with_timeout(command, 10.0) + ret = exec_utils.cmd_with_timeout(command, 15.0) self.assertEqual(0, ret) except Exception as e: logger.exception(e)