X-Git-Url: https://wannabe.guru.org/gitweb/?a=blobdiff_plain;f=tests%2Frun_some_dependencies_test.py;h=1182f23d33b7eed38705860be639e3508df4f435;hb=e7822aa364fcc392476ded5537948292f7db2300;hp=1a7fab7eea576204ac3c1f49468d81fdcb9dcaaa;hpb=aca44b9aff1ea315c18b80a1c543f4e9b79fc9b0;p=python_utils.git diff --git a/tests/run_some_dependencies_test.py b/tests/run_some_dependencies_test.py index 1a7fab7..1182f23 100755 --- a/tests/run_some_dependencies_test.py +++ b/tests/run_some_dependencies_test.py @@ -25,10 +25,13 @@ class RunSomeDependenciesTest(unittest.TestCase): "/home/scott/bin/wordle.py --mode=AUTOPLAY --template=trial >& /dev/null", "/home/scott/bin/tplink.py -a office_lights -c info --audit_import_events >& /dev/null", "/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, 5.0) + ret = exec_utils.cmd_with_timeout(command, 10.0) self.assertEqual(0, ret) except Exception as e: logger.exception(e)