Add a simple test for waitable presence.
[python_utils.git] / tests / run_some_dependencies_test.py
index 5a567afa9920a27e856496992bedf321f7613a23..20f44cbdac53c318d3918cd89210840822662790 100755 (executable)
@@ -18,13 +18,15 @@ logger = logging.getLogger(__name__)
 
 
 class RunSomeDependenciesTest(unittest.TestCase):
-    def make_sure_random_utilities_still_seem_to_work(self):
+    def test_make_sure_random_utilities_still_seem_to_work(self):
         commands = [
-            "/home/scott/cron/manage_lights.py -n --run_profiler",
+            "/home/scott/cron/manage_lights.py -n --run_profiler >& /dev/null",
             "/home/scott/bin/reminder.py --logging_level=DEBUG >& /dev/null",
             "/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",
         ]
         for command in commands:
             try: