Skip to content

Commit

Permalink
Fix unit test for ush/get_crontab_contents.py
Browse files Browse the repository at this point in the history
  • Loading branch information
mkavulich committed Aug 16, 2023
1 parent e0f9f96 commit 7567188
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions tests/test_python/test_get_crontab_contents.py
Original file line number Diff line number Diff line change
Expand Up @@ -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")

0 comments on commit 7567188

Please sign in to comment.