From 567c5cae90f57ec8213d07cc49ea98d30e7b4d10 Mon Sep 17 00:00:00 2001 From: "Michael Kavulich, Jr" Date: Wed, 16 Aug 2023 02:11:18 +0000 Subject: [PATCH] Fix unit test for ush/get_crontab_contents.py --- tests/test_python/test_get_crontab_contents.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/tests/test_python/test_get_crontab_contents.py b/tests/test_python/test_get_crontab_contents.py index 7998550f2f..c18c06d318 100644 --- a/tests/test_python/test_get_crontab_contents.py +++ b/tests/test_python/test_get_crontab_contents.py @@ -9,10 +9,8 @@ class Testing(unittest.TestCase): """ Define the tests""" def test_get_crontab_contents(self): """ Call the function and make sure it doesn't fail. """ - crontab_cmd, _ = get_crontab_contents(called_from_cron=True) + crontab_cmd, _ = get_crontab_contents(called_from_cron=True,machine=HERA,debug=True) self.assertEqual(crontab_cmd, "crontab") def setUp(self): define_macos_utilities() - set_env_var("DEBUG", False) - set_env_var("MACHINE", "HERA")